Wordfence flags unauthenticated RCE in Restrictions for BuddyPress, exploitable with one GET request
Wordfence published details of CVE-2026-120539 on 20 November, a critical 9.8-rated flaw in the Restrictions for BuddyPress plugin that lets an unauthenticated attacker run PHP code through a single GET request. Version 1.5.5 fixes it.
Why it matters
The plugin splices the request URI into a PHP expression inside a double-quoted string and evaluates it with eval. Because PHP interpolates double-quoted strings, a payload such as {${...}} in the URL path executes without any quote breakout, and WordPress input slashing does not stop it.
Exploitation needs three plugins active together: Restrictions for BuddyPress up to 1.5.4, BuddyPress and Paid Memberships Pro. The affected code paths ship enabled by default and are evaluated before any login check, so no configuration is required. Wordfence credits the researcher snr with the report.
Administrators should update to 1.5.5 and confirm the running version afterwards. Wordfence rates the flaw 9.8 on the CVSS v3.1 scale, and the public CVE record was published on 21 November. Sites that cannot patch immediately should consider deactivating the plugin, because the vulnerable paths need no authentication and no special settings.