CVE-2026-120539 is a critical vulnerability in the Restrictions for BuddyPress plugin for WordPress, allowing unauthenticated remote code execution. The vulnerability affects all versions up to and including 1.5.4.

The issue arises from the plugin's handling of attacker-controlled request URIs, which are spliced into a PHP expression and evaluated using eval(). This allows arbitrary PHP code execution via a payload in the URL path.

The vulnerability is enabled by default and operates before any logged-in checks, increasing the risk of exploitation. Public exploit code for CVE-2026-120539 was released on November 21, 2026.

The CVSS score for this vulnerability is 9.8, indicating its critical nature. The vendor has released version 1.5.5 to address the issue.

There are no workarounds for CVE-2026-120539 other than updating to the fixed version or deactivating the plugin.