SECURITYCRITICALCVE-2026-120539

CVE-2026-120539: Restrictions for BuddyPress WordPress Plugin Remote Code Execution (CVSS 9.8)

Restrictions for BuddyPress through 1.5.4 evaluates the attacker-controlled request URI inside a PHP eval() call, allowing remote code execution.

Dylan H.

Security Team

November 21, 2026
2 min read
CVE-2026-120539: Restrictions for BuddyPress WordPress Plugin Remote Code Execution (CVSS 9.8)

Critical severity

Rated critical. Prioritise patching — see the remediation guidance below.

Affected Products

  • Restrictions for BuddyPress WordPress plugin through 1.5.4

Summary

CVE-2026-120539 is a remote code execution flaw in the Restrictions for BuddyPress plugin for WordPress, published to NVD on November 21, 2026 with a CVSS score of 9.8. All versions up to and including 1.5.4 are affected.

Details

According to the NVD description, the plugin splices the attacker-controlled request URI into a PHP expression placed inside a double-quoted string, then runs that expression with eval(). Because PHP interpolates content in double-quoted strings, a crafted URL can inject code that the server executes. The description is truncated in the feed we reviewed, so the exact exploit path and any authentication requirement should be confirmed on the NVD page.

ItemDetail
CVECVE-2026-120539
CVSS9.8 (critical)
ProductRestrictions for BuddyPress (WordPress plugin)
Affected1.5.4 and earlier
FixedNot stated in the NVD description
ImpactRemote code execution via request URI

We have not seen reports of exploitation at the time of writing.

  1. Check the plugin page for a release newer than 1.5.4 and update. If none exists, deactivate and remove the plugin.
  2. Review web server logs for unusual request URIs containing PHP syntax such as quotes, ${ or function calls.
  3. Look for unexpected files, new admin users and modified plugins or themes.
  4. Consider a WAF rule that blocks PHP expression syntax in request paths.

References