Restrictions for BuddyPress: remote code execution (CVE-2026-120539)
The Restrictions for BuddyPress plugin for WordPress has a vulnerability, CVE-2026-120539 (CVSS 9.8). The request URI is inserted into a PHP expression in a double-quoted string and run with eval(). An unauthenticated attacker can execute arbitrary code on the server with a single GET request.
Checked in Shield: no
Who is affected
All plugin versions up to and including 1.5.4. The site must have BuddyPress and Paid Memberships Pro active. The vulnerable conditions are enabled by default, no plugin configuration is needed.
How to check
In the WordPress admin, open Plugins, find Restrictions for BuddyPress and check its version. Also check whether BuddyPress and Paid Memberships Pro are active.
How to fix
The source does not name a fixed version. Until a patch is published, consider deactivating the plugin and watch for updates from the author.
What Shield checks not checked
Checked in Shield: no. This is usually not visible from outside, or the check has not been added yet; we collect such cases and add checks in batches.
Good to know
A fixed version and whether the flaw is exploited in the wild are not disclosed yet. Source: NVD.