Skip to content
PatchBriefing

Search PatchBriefing

Type at least two characters. Results update as you type.

Search CVEs, products, packages and article titles.

Nothing found. Identifiers such as CVE and GHSA can be searched in both languages.

Subscribe

Critical · 9.8 Critical vulnerabilities CVE-2026-120539

Unauthenticated Remote Code Execution in Restrictions for BuddyPress (CVE-2026-120539)

The Restrictions for BuddyPress WordPress plugin, versions up to and including 1.5.4, contains an unauthenticated remote code execution flaw. A single crafted GET request lets an attacker run arbitrary PHP code on sites running the plugin alongside BuddyPress and Paid Memberships Pro. No fix is currently available.

By PatchBriefing ·

Produced automatically from official sources with the help of AI. How we work →

Synthesized by AI from 2 sources · updated 4 days ago

AI summary

A critical vulnerability has been identified in the Restrictions for BuddyPress plugin for WordPress, tracked as CVE-2026-120539. The flaw allows unauthenticated attackers to execute arbitrary code on affected servers through a single web request, with no login or special configuration required. As of publication, no fix is available from the vendor.

What happened

The Restrictions for BuddyPress plugin for WordPress, in all versions up to and including 1.5.4, is affected by a remote code execution vulnerability. The plugin takes part of the request URI — content that is fully controlled by the attacker — and inserts it into a PHP expression inside a double-quoted string, which is then passed to PHP's eval() function. This allows an unauthenticated attacker to run arbitrary code on the server by sending a single specially crafted GET request.

Technical cause

The root cause is CWE-95, improper neutralization of directives in a dynamically evaluated statement (code injection via eval()). Because PHP interprets double-quoted strings and expands expressions in the form {${...}} during interpolation, an attacker can trigger code execution without needing to break out of the surrounding quotes. This also means WordPress's standard input-slashing protections do not neutralize the payload, since the malicious construct executes purely through normal string interpolation rather than through quote escaping.

Why it matters

This vulnerability allows full, unauthenticated remote code execution with a single request, giving an attacker the ability to take complete control of the affected website and the server-side environment it runs in. The CVSS 3.1 score of 9.8 (vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) reflects that the attack can be carried out over the network, requires no privileges or user interaction, and results in a complete loss of confidentiality, integrity, and availability.

Who is affected

Sites are affected if they run the Restrictions for BuddyPress plugin alongside both BuddyPress and Paid Memberships Pro, as the vulnerable code paths depend on all three being active together. The vulnerable conditions are enabled by default and are evaluated before any authentication check, so no special plugin configuration is needed for a site to be exposed.

Affected versions

All versions of the Restrictions for BuddyPress plugin up to and including version 1.5.4 are affected.

Fixes and mitigation

No fix is currently available from the vendor for this vulnerability. Site owners should treat this as an unresolved, high-risk exposure until a fix is released.

Recommended action

Site owners running Restrictions for BuddyPress alongside BuddyPress and Paid Memberships Pro should disable or remove the Restrictions for BuddyPress plugin until a vendor fix is released. Monitor vendor channels for an update, and review server and access logs for unusual requests to the site, particularly unexpected GET requests containing unusual path structures.

PatchBriefing score

9.8 / 10 · Critical

Official CVSS: 9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS 0.0139 (73 percentile)

Why this score

The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.

Affected versions

Reported fixes

No fix is currently available from the vendor for this vulnerability. Site owners should treat this as an unresolved, high-risk exposure until a fix is released.

How this was built

2 source records were collected, matched and used to prepare the report above.

  • NVD (NIST) database
  • CVE.org database
Unified report
Unauthenticated Remote Code Execution in Restrictions for BuddyPress (CVE-2026-120539)
1 article · 2 sources cited
Revision history
  1. Published
  2. Generated
The Morning Brief

Relevant changes for the stacks you follow.

Choose your stacks, topics and optional WordPress plugins. At 07:00 CET, matching advisories and releases from the reporting period are grouped into one email.

✓ Choose stacks and topics✓ Change preferences anytime✓ One grouped email