Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
CVE-2026-120539: BuddyPress Restrictions plugin lets attackers run code
CVE-2026-120539 · published 1 day ago
Summary
The Restrictions for BuddyPress add‑on for WordPress can run any code an outsider puts in the website address. The flaw works whenever BuddyPress and Paid Memberships Pro are installed, so an unauthenticated person could take control of the server with a single request. Update to the latest version or remove the plug‑in until it is patched, and keep the site’s software up to date.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| seventhqueen | restrictions for buddypress | <= 1.5.4 |
Original advisory text
Restrictions for BuddyPress <= 1.5.4 - Unauthenticated Remote Code Execution via Request URI String Interpolation in eval()
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.
References
- https://github.com/seventhqueen/buddypress-restrict/releases/tag/1.5.5
- https://plugins.trac.wordpress.org/browser/bp-restrict/tags/1.5.4/admin/class-bp...
- https://plugins.trac.wordpress.org/browser/bp-restrict/tags/1.5.4/admin/class-bp...
- https://plugins.trac.wordpress.org/browser/bp-restrict/tags/1.5.4/admin/class-bp...
- https://plugins.trac.wordpress.org/browser/bp-restrict/tags/1.5.4/includes/class...
- https://plugins.trac.wordpress.org/browser/bp-restrict/tags/1.5.4/includes/class...
- https://www.wordfence.com/threat-intel/vulnerabilities/id/fab68c0b-2211-4cc4-a11...
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker full control (estimated)
Type
CWE-95Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Timeline
Published21 Nov 2026
Updated22 Nov 2026
First seen21 Nov 2026
Track software like this
Free during beta