The Restrictions for BuddyPress plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1.5.4 This is due to the plugin splicing the attacker-controlled request URI into a PHP expression inside a double-quoted string and evaluating it with eval(). Because PHP interpolates double-quoted strings, a payload of the form {${...}} in the URL path is executed during interpolation, so no quote breakout is required and WordPress' slashing does not mitigate it. This makes it possible for unauthenticated attackers to execute arbitrary code on the server with a single GET request. The affected conditions ship enabled by default and are evaluated before any logged-in check, so no plugin configuration is needed; the site must have BuddyPress and Paid Memberships Pro active alongside this plugin.
Casky was already ahead
This CVE exploits attack patterns that Casky's 0matched skills already investigate — long before this vulnerability was disclosed. Claude's reasoning model maps these techniques to MITRE ATT&CK, so practitioners who ran these skills have already seen the threat behaviour in their findings.
The Restrictions for BuddyPress plugin contains a critical remote code execution vulnerability affecting all versions through 1.5.4. The flaw stems from unsafe use of the eval() function combined with PHP's double-quoted string interpolation, allowing attackers to execute arbitrary code by crafting malicious URL paths containing {${...}} payloads. This vulnerability is particularly dangerous because it requires no authentication, no quote breakout, and standard WordPress security mechanisms (magic quotes/slashing) cannot mitigate it. Any website running the affected BuddyPress plugin versions is exposed to complete server compromise, making this a high-priority patch for WordPress administrators managing community sites that rely on BuddyPress functionality.
While this CVE does not map to specific MITRE ATT&CK techniques in the current taxonomy, Casky's skills would help detect the exploitation patterns through behavioral analysis of code execution attempts. Practitioners using Casky's Claude-powered platform would identify suspicious indicators such as unusual eval() invocations with attacker-controlled input, PHP variable interpolation patterns in security-sensitive contexts, and URL manipulation techniques designed to trigger backend code execution. By analyzing the underlying code flow and execution patterns, security teams would recognize the hallmark signature of this vulnerability—PHP interpolation of user-supplied URI data—allowing them to proactively hunt for exploitation attempts, identify compromised instances, and prioritize patching efforts across their WordPress infrastructure.
Composite risk scoring from EPSS, CISA KEV, Shodan, and GreyNoise — 21 security APIs correlated into a single Casky Risk Score. Coming in Casky Pro. Join early access →
Casky has 0 skills that investigate the attack patterns behind CVE-2026-120539. Run one and get CVSS-scored findings in 3 minutes.
Run the skill that detects this →© 2026 Casky.AI, Inc. · AI Security Investigation