Summary
CVE-2026-86596 is a code injection (CWE-94) vulnerability leading to Remote Code Execution in the s2Member – Excellent for All Kinds of Memberships WordPress plugin. All versions up to and including 260927 are affected. The CVE record rates it Critical, with a CVSS v3.1 base score of 9.8.
Technical details
- Root cause: flawed sanitization in
strip_php_tags_deep(), which removes only literal<?sequences. Attackers can reconstruct valid PHP code through cleanup performed after interpolation. - Vulnerable input: the
item_nameparameter. - Attack vector: network. The CVSS vector indicates no privileges and no user interaction are required.
- Impact: remote code execution on the server hosting the WordPress site, with high impact to confidentiality, integrity and availability.
Affected software
- s2Member – Excellent for All Kinds of Memberships (WordPress plugin): all versions up to and including 260927
Severity
- CVSS v3.1 base score: 9.8 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: update s2Member to a release newer than 260927 once available from the WordPress plugin repository. The CVE record lists versions after 260927 as unaffected. It references plugin changeset 3722434. We did not confirm a specific fixed version number.
- If you cannot update: deactivate and remove the plugin until a fixed version is installed. Restrict access to the site’s payment notification endpoints where practical.
- Review affected sites for signs of compromise, such as unexpected PHP files or modified plugin files.

