Seventhqueen Restrictions for BuddyPress
Restrictions for BuddyPress <= 1.5.4 - Unauthenticated Remote Code Execution via Request URI String Interpolation in eval()
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 1.5.4
Mitigation
The record names no fix. Check the vendor advisory below.
References
- Release notes github.com/seventhqueen/buddypress-restrict/re…
Timeline
Days relative to CVE publicationFirst public PoC 1 h after publication; not in CISA KEV. First PoC: LLCForge/CVE-2026-120539 (created 21 Nov 2026, found by us: 21 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| LLCForge/CVE-2026-120539 | 21 Nov 2026 +1 h | 21 Nov 2026 | 0 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /wp-content/plugins/{var}/readme.txt
- Seen in
- 1 repo: LLCForge/CVE-2026-120539
- Evidence
- LLCForge/CVE-2026-120539/poc.py:66
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/wp-content/plugins/[^/?#]*/readme\.txt(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-120539 seventhqueen Restrictions for BuddyPress exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-content/plugins/"; http.uri; content:"/readme.txt"; reference:url,poc.griffinguard.io/cve/CVE-2026-120539; classtype:web-application-attack; sid:9282913; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: seventhqueen Restrictions for BuddyPress exploit attempt (CVE-2026-120539)
id: gg-pocmon-cve-2026-120539-9282913
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-120539. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-120539
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-content/plugins/'
- '/readme.txt'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.120539