RCE in Seventhqueen Restrictions For Buddypress
CVE-2026-120539
- CVSS v3
- 9.8 Critical
- Public exploits
- 3 repositories
- EPSS
- 0.022 · 82.7th percentile
- Published
- 2026-11-21
The Restrictions for BuddyPress plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1.5.4 This is due to the plugin splicing the attacker-controlled request URI into a PHP expression inside a double-quoted string and evaluating it with eval(). Because PHP interpolates double-quoted strings, a payload of the form {${...}} in the URL path is executed during interpolation, so no quote breakout is required and WordPress' slashing does not mitigate it. This makes it possible for unauthenticated attackers to execute arbitrary code on the server with a single GET request. The affected conditions ship enabled by default and are evaluated before any logged-in check, so no plugin configuration is needed; the site must have BuddyPress and Paid Memberships Pro active alongside this plugin.
Published · last modified .
CVSS v3 metric
CVSS v3 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.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.022, 82.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
3 public repositories with exploit or proof-of-concept code for this CVE:
- cveForge/CVE-2026-120539 (last pushed 2026-11-23): BuddyPress < 1.5.5 Unauthenticated RCE
- foxcornlab/buddypress-restrictions-scanner (last pushed 2026-11-23): Detection-only triage for CVE-2026-120539 (CVSS 9.8): unauthenticated RCE in Restrictions for BuddyPress <= 1.5.4 via eval() on the request URI. Grades plugin versions against the 1.5.5 fix.
- LLCForge/CVE-2026-120539 (last pushed 2026-11-21): BuddyPress < 1.5.5 Unauthenticated RCE
References
- www.wordfence.com/threat-intel/vulnerabilities/id/fab68c0b-2211-4cc4-a112-f0011…
- plugins.trac.wordpress.org/browser/bp-restrict/tags/1.5.4/admin/class-bp-restri…
- plugins.trac.wordpress.org/browser/bp-restrict/tags/1.5.4/admin/class-bp-restri…
- plugins.trac.wordpress.org/browser/bp-restrict/tags/1.5.4/includes/class-bp-res…
- plugins.trac.wordpress.org/browser/bp-restrict/tags/1.5.4/includes/class-bp-res…
- plugins.trac.wordpress.org/browser/bp-restrict/tags/1.5.4/admin/class-bp-restri…
- github.com/seventhqueen/buddypress-restrict/releases/tag/1.5.5
This CVE has public exploit evidence. See the latest CVEs with public exploits.