CVE-2026-120539 - Restrictions for BuddyPress <= 1.5.4 - Unauthenticated Remote Code Execution via Request URI String Interpolation in eval()
Vulnerability · Reported by NVD · · CWE-95
- Severity
- Critical Risk score 98/100
- CVSS
- 9.8 v3.1 · from NVD
- Exploit chance (EPSS)
- 1.39% Higher than 73% of CVEs
- Known exploited
- No Not in CISA KEV
Summary
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.
How this vulnerability can be exploited
An attacker can exploit this vulnerability remotely over the network, without any login, and without any action from a user. Attack complexity is low, so no special conditions are needed. If successful, the attacker could read sensitive data, modify data or code and crash or disrupt the service.
Is it being exploited?
The EPSS model estimates a 1.39% chance this CVE will be exploited in the next 30 days, which is elevated and higher than 73% of all published CVEs.
Patch priority and what to do
Patch as soon as possible, ideally within days. It is remotely reachable or critical severity, so exposure to the internet greatly increases risk. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Tags
rce, CVE-2026-120539
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-120539 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.