Restrictions for BuddyPress ≤ 1.5.4: One GET Request, Arbitrary Code — eval() on the URL Itself (CVE-2026-120539, CVSS 9.8)

Running Restrictions for BuddyPress on your site? Check it against CVE-2026-120539 — free.

The free mini-scan checks your live site from the outside and reads the plugin versions it exposes — if your Restrictions for BuddyPress is in the affected range (≤ 1.5.4), it flags it, alongside TLS/HTTPS basics, security headers, cookie flags, exposed files and Firebase/Supabase backend rules. You get a score and the finding titles — no account, no card.

Run the free mini-scan →

Restrictions for BuddyPress ≤ 1.5.4: One GET Request, Arbitrary Code — eval() on the URL Itself (CVE-2026-120539, CVSS 9.8)

The plugin builds a PHP expression out of the request URI and evals it. Because PHP interpolates double-quoted strings, a payload of the form {${...}} in the URL path executes during interpolation — no quote breakout required, no login, and WordPress' slashing does not mitigate it. CVE-2026-120539 is unauthenticated remote code execution with a single GET request.

What Happened

CVE-2026-120539 is an unauthenticated remote code execution vulnerability in the Restrictions for BuddyPress WordPress plugin (directory slug bp-restrict), disclosed November 21, 2026 and rated CVSS 9.8. The plugin splices the attacker-controlled request URI into a PHP expression inside a double-quoted string and evaluates it with eval(). An unauthenticated attacker executes arbitrary code with a single crafted URL.

Am I Affected?

Any WordPress site running Restrictions for BuddyPress at 1.5.4 or below, with BuddyPress and Paid Memberships Pro active. Check Plugins in wp-admin, or the plugin's public readme — or run the free check at preshipit.com/free-scan, which reads the version your site announces and flags 1.5.4 and below. A site on 1.5.5 or later is reported as patched; a site that discloses no version is reported as unverified, never as vulnerable.

What To Do Now

  1. Update Restrictions for BuddyPress to 1.5.5 or later immediately. This is the fix; everything below is triage while you wait.
  2. Treat the server as potentially compromised if an affected version was ever public. Unauthenticated RCE leaves no failed-login trail — review it before trusting it again.
  3. Check for unexpected administrator accounts and changed passwords, and review file-modification times in wp-content and the site root for anything changed while the affected version was live.
  4. If you cannot update yet, deactivate the plugin — the flaw only exists while it is active alongside BuddyPress and Paid Memberships Pro.

The Bigger Lesson

Never interpolate attacker-controlled input into a string that gets evaluated — double-quoted interpolation is execution. The payload here does not even need to break out of a quote: {${...}} in the URL path runs while PHP is still building the string. Anywhere a request value flows into eval(), create_function(), or an interpolated expression, the URL itself becomes the code.

Related: Shortcodes and extra features for Phlox theme ≤ 2.17.22: Unauthenticated Local File Inclusion — another unauthenticated flaw where the parameter the earlier fix did not cover is the one the next CVE names.

Check Restrictions for BuddyPress on your own site — free.

Our free WordPress Plugin Vulnerability Checker pulls Restrictions for BuddyPress's current version from wordpress.org and lists the vulnerabilities our scanner checks for — CVE-2026-120539 included. No scan, no account.

Open the free plugin checker →

The PreShipIt Brief — a short weekly email for people shipping vibe-coded apps: the week's important vulnerabilities and launch-safety checks, in plain English.

New and free. Double opt-in: we email you a confirmation link before anything else arrives. Unsubscribe any time.

Running Restrictions for BuddyPress on your site? Check it against CVE-2026-120539 — free.

The free mini-scan checks your live site from the outside and reads the plugin versions it exposes — if your Restrictions for BuddyPress is in the affected range (≤ 1.5.4), it flags it, alongside TLS/HTTPS basics, security headers, cookie flags, exposed files and Firebase/Supabase backend rules. You get a score and the finding titles — no account, no card.

Run the free mini-scan →

← Back home · Run a free mini-scan · Scan my app — $29 · See a sample report