Remote Code Execution in BuddyPress Plugin for WordPress
CVE-2026-120539
9.8CRITICAL
Key Information:
- Vendor
WordPress
- Vendor
- CVE Published:
- 21 November 2026
What is CVE-2026-120539?
The BuddyPress Restrictions plugin for WordPress is susceptible to Remote Code Execution due to improper handling of user input. In versions up to and including 1.5.4, an attacker can exploit the vulnerability by injecting a malicious payload into a request URI. The plugin evaluates this payload as part of a PHP expression using eval(), allowing unauthorized users to execute arbitrary code on the server with a single GET request. This issue arises from the plugin’s default enabled conditions and its failure to enforce logged-in user checks, posing a significant risk when BuddyPress and Paid Memberships Pro are also active.
Affected Version(s)
Restrictions for BuddyPress 0 <= 1.5.4