# CVE-2026-86596: s2Member WordPress plugin remote code execution via item_name

Source: https://junglewise.ai/threats/cve-2026-86596-the-s2member-plugin-for-wordpress-is-vulnerable-to-remote-code  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-02. Updated: 2026-11-02  
License: CC BY 4.0 with a link back

CVE-2026-86596 · Severity: critical · CVSS 9.8 · Published 2026-11-02

The s2Member WordPress plugin, used to restrict content and manage user memberships, contains a critical flaw that allows attackers with user accounts to run arbitrary code on the web server. The vulnerability stems from improper filtering of PHP code in email templates, enabling attackers to inject and execute malicious commands.

Technologies: [s2Member](https://junglewise.ai/threats/technologies/s2member). Vendors: [s2Member](https://junglewise.ai/threats/vendors/s2member).

## Quick answers

**Is CVE-2026-86596 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-86596 being exploited in the wild.

**How severe is CVE-2026-86596?** Critical severity, with a CVSS score of 9.8, published 2 November 2026.

**Which products and versions are affected?** s2Member up to and including 260927.

**Is there a fix for CVE-2026-86596?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-86596 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-86596?** Check whether you run s2Member at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

An insufficiently sanitized strip_php_tags_deep() function strips only literal '<?' sequences from the item_name parameter, but a post-interpolation placeholder cleanup mechanism reassembles valid '<?php' openers after the attacker-controlled value is embedded in an email template. Authenticated attackers with custom-level access or above can exploit this to execute arbitrary PHP code on the server.

## Affected products

- s2Member s2Member up to and including 260927

## Timeline

- 2026-11-02: disclosed

## References

- [https://plugins.trac.wordpress.org/browser/s2member/tags/260829/src/includes/classes/paypal-notify-in-subscr-or-wa-w-level.inc.php](https://plugins.trac.wordpress.org/browser/s2member/tags/260829/src/includes/classes/paypal-notify-in-subscr-or-wa-w-level.inc.php)
- [https://plugins.trac.wordpress.org/browser/s2member/tags/260829/src/includes/classes/paypal-notify-in-web-accept-sp.inc.php](https://plugins.trac.wordpress.org/browser/s2member/tags/260829/src/includes/classes/paypal-notify-in-web-accept-sp.inc.php)

## Related threats

- [s2Member Stored Cross-Site Scripting in date_format parameter](https://junglewise.ai/threats/cve-2026-109972-the-s2member-excellent-for-all-kinds-of-memberships-content)
- [s2Member code execution in Signup Tracking Codes](https://junglewise.ai/threats/cve-2026-19804-the-s2member-excellent-for-all-kinds-of-memberships-content)
- [s2Member WordPress plugin stored XSS via shortcode attributes](https://junglewise.ai/threats/cve-2026-15047-s2member-wordpress-plugin-stored-xss-via-shortcode-attributes)
