Description
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.
CVSS scores
| Version | Scored by | Score | Vector |
|---|---|---|---|
| CVSS 3.1 | Wordfence (CNA) | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Timeline
- CVE published
- Last updated by the CVE authority
- First tracked by SecureCyberVM
Exploit likelihood (EPSS)
Am I affected?
- Do you run seventhqueen Restrictions for BuddyPress? Check the exact versions in the affected products list.
- Is the affected service reachable from the internet or by untrusted users? Exposed systems come first.
- Watch this page: if exploitation is reported it moves to the top of your list.
- Apply the vendor's update as soon as it is available; restrict access to the service until then.
Affected products
- seventhqueen Restrictions for BuddyPress: up to 1.5.4
Weakness
CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code
Coverage of CVE-2026-120539
Frequently asked questions
Is CVE-2026-120539 being actively exploited?
There are no confirmed reports of exploitation in the wild: CVE-2026-120539 is not in CISA's Known Exploited Vulnerabilities catalog. EPSS estimates a 2.16% probability of exploitation in the next 30 days. This page is re-checked daily.
How severe is CVE-2026-120539?
CVE-2026-120539 has a highest CVSS score of 9.8 (Critical) under CVSS 3.1. Severity alone is not priority: check exploitation status and whether you run an affected version.
How do I fix CVE-2026-120539?
Apply the vendor's security update as soon as it is available and follow the official advisory linked in the references on this page. Restrict exposure of the affected service until it is patched.
Which products are affected by CVE-2026-120539?
seventhqueen Restrictions for BuddyPress. See the affected products list on this page for exact versions.
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/fab68c0b-2211-4cc4-a112-f0011f9d72ed?source=cve
- https://plugins.trac.wordpress.org/browser/bp-restrict/tags/1.5.4/admin/class-bp-restrict-pmpro.php#L187
- https://plugins.trac.wordpress.org/browser/bp-restrict/tags/1.5.4/admin/class-bp-restrict-pmpro.php#L184
- https://plugins.trac.wordpress.org/browser/bp-restrict/tags/1.5.4/includes/class-bp-restrict.php#L210
- https://plugins.trac.wordpress.org/browser/bp-restrict/tags/1.5.4/includes/class-bp-restrict.php#L172
- https://plugins.trac.wordpress.org/browser/bp-restrict/tags/1.5.4/admin/class-bp-restrict-admin.php#L213
- https://github.com/seventhqueen/buddypress-restrict/releases/tag/1.5.5
Change log
- First recorded on SecureCyberVM from CVE.org, NVD, CISA KEV and FIRST EPSS.
Sources: CVE.org, NIST NVD, CISA KEV and ADP, FIRST EPSS. This record is refreshed automatically every day; changes are listed in the change log above.
