Skip to content
DayZeroHub
Critical CVSS 9.8CVE-2026-120539

Restrictions for BuddyPress ≤ 1.5.4: Unauthenticated Remote Code Execution (CVE-2026-120539)

seventhqueen Restrictions for BuddyPress

Summary

The Restrictions for BuddyPress plugin for WordPress, in all versions up to and including 1.5.4, allows an unauthenticated attacker to execute arbitrary code on the server. It is tracked as CVE-2026-120539 with a CVSS 3.1 score of 9.8 (critical).

What happened

The plugin inserts the attacker-controlled request URI into a PHP expression that it then evaluates dynamically. This corresponds to CWE-95 (code injection in dynamic evaluation). According to the description, an unauthenticated attacker can achieve arbitrary code execution on the server with a single GET request. The affected conditions are enabled by default and are evaluated before any logged-in check, so no plugin configuration is needed. For a site to be vulnerable, BuddyPress and Paid Memberships Pro must be active alongside this plugin.

Why it matters

The CVSS 3.1 score is 9.8 (vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, assigned by CNA:Wordfence) and the severity is critical. The attack is carried out over the network, requires no privileges or user interaction, and may affect the confidentiality, integrity and availability of the server. The source does not report active exploitation of this vulnerability.

Affected products and versions

Restrictions for BuddyPress (vendor: seventhqueen): all versions up to and including 1.5.4 (<= 1.5.4). Exploitation also requires BuddyPress and Paid Memberships Pro to be active on the site.

ProductVersionsFixed in
seventhqueen Restrictions for BuddyPress<= 1.5.4—

Action recommended by the source

The source does not explicitly state a fixed version or a mitigation. Among the references is the release page for version 1.5.5 in the vendor's repository (https://github.com/seventhqueen/buddypress-restrict/releases/tag/1.5.5), which is worth consulting for details. Further information is available in the Wordfence advisory: https://www.wordfence.com/threat-intel/vulnerabilities/id/fab68c0b-2211-4cc4-a112-f0011f9d72ed?source=cve

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-95

Relevant change history

  1. Published

    Advisory published.

Summary written with AI assistance from the source data. See the sources and references for complete information. View sources