Bricksforge
Bricksforge <= 3.1.8.9 - Unauthenticated Arbitrary File Upload via 'temporaryFileUploads' Parameter
The Bricksforge plugin for WordPress is vulnerable to unauthenticated arbitrary file upload in versions up to, and including, 3.1.8.9. This is due to insufficient validation of the attacker-controlled URL field in the 'temporaryFileUploads' parameter during form submission. An unauthenticated attacker can first obtain a valid nonce via the bricksforge_regenerate_nonce AJAX endpoint, then upload a GIF/PHP polyglot file to the temporary upload directory where MIME type validation is correctly performed. Subsequently, the attacker can submit a form with a crafted 'temporaryFileUploads' parameter where the server-side file path points to the validated GIF file, but the attacker-controlled url field ends with a .php extension. This makes it possible for unauthenticated attackers to upload and execute arbitrary PHP code on the server.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 3.1.8.9
Mitigation
The record names no fix. Check the vendor advisory below.
References
- Release notes bricksforge.io/version-changelog
Timeline
Days relative to CVE publicationFirst public PoC 1.9 days after publication; not in CISA KEV. First PoC: Wayang1337/CVE-2026-85097 (created 10 Oct 2026, found by us: backfilled).
PoC repositories
Found on GitHub.5 PoCs
PoCs 5
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| Wayang1337/CVE-2026-85097 | 10 Oct 2026 +1.9 d | backfilled | 1 | PoC |
| tc4dy/CVE-2026-85097-Toolkit | 12 Oct 2026 +4.4 d | backfilled | 5 | PoC |
| Masriyan/CVE-2026-85097 | 13 Oct 2026 +5 d | backfilled | 1 | PoC |
| RootMantap/CVE-2026-85097 | 14 Oct 2026 +5.8 d | backfilled | 0 | PoC |
| BlackHatExploitation/CVE-2026-85097 | 15 Oct 2026 +7.2 d | 14 Nov 2026 | 1 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Bricksforge WordPress Plugin <=3.1.8.9 - Unauthenticated Arbitrary File Upload | 22 Oct 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 5 PoC reposPOST /wp-admin/admin-ajax.php
- Body markers
action=bricksforge_regenerate_nonceinapplication/x-www-form-urlencoded- Ports
- 8080, 8443, 8899, 8900, 8901
- Seen in
- 3 repos: Masriyan/CVE-2026-85097, RootMantap/CVE-2026-85097, Wayang1337/CVE-2026-85097
- Evidence
- Masriyan/CVE-2026-85097/docs/DETECTION-AND-RESPONSE.md:527 Masriyan/CVE-2026-85097/docs/VULNERABILITY-ANALYSIS.md:139 RootMantap/CVE-2026-85097/cve-2026-85097noname9619.py:502 Wayang1337/CVE-2026-85097/poc.py:420
POST /wp-json/bricksforge/v1/form_submit
- Body markers
"temporaryFileUploads""file""file":"/tmp/a.gif""url":"https://your-site/a.php""field":"form-field-file""file":"/var/www/example.com/wp-content/uploads/bricksforge/tmp/img_example.gif""url":"https://example.com/wp-content/uploads/bricksforge/tmp/img_example.php""type":"image/gif"inapplication/json- Ports
- 8080, 8443, 8899, 8900, 8901
- Seen in
- 2 repos: Masriyan/CVE-2026-85097, RootMantap/CVE-2026-85097
- Evidence
- Masriyan/CVE-2026-85097/docs/DETECTION-AND-RESPONSE.md:241 Masriyan/CVE-2026-85097/docs/VULNERABILITY-ANALYSIS.md:170 RootMantap/CVE-2026-85097/cve-2026-85097noname9619.py:722
POST /
- Query
rest_route=/bricksforge/v1/form_submit- Body markers
postId=formId=formIdFallback=fieldIds=temporaryFileUploads=action=bricksforge_form_submitinapplication/x-www-form-urlencoded- Seen in
- 2 repos: RootMantap/CVE-2026-85097, Wayang1337/CVE-2026-85097
- Evidence
- RootMantap/CVE-2026-85097/cve-2026-85097noname9619.py:745 Wayang1337/CVE-2026-85097/poc.py:545
GET /wp-content/uploads/bricksforge/tmp/img_example.php
- Ports
- 8080, 8443, 8899, 8900, 8901
- Seen in
- 1 repo: Masriyan/CVE-2026-85097
- Evidence
- Masriyan/CVE-2026-85097/docs/VULNERABILITY-ANALYSIS.md:193
GET /wp-content/uploads/bricksforge/tmp/
- Ports
- 8080, 8443, 8899, 8900, 8901
- Seen in
- 1 repo: Masriyan/CVE-2026-85097
- Evidence
- Masriyan/CVE-2026-85097/docs/DETECTION-AND-RESPONSE.md:523
GET /wp-content/uploads/bricksforge/tmp/{var}.php
- Ports
- 8080, 8443, 8899, 8900, 8901
- Seen in
- 1 repo: Masriyan/CVE-2026-85097
- Evidence
- Masriyan/CVE-2026-85097/bricksforge_checker.py:1855
GET /wp-json/bricksforge/v1/form_file_upload
- Seen in
- 1 repo: Wayang1337/CVE-2026-85097
- Evidence
- Wayang1337/CVE-2026-85097/poc.py:134
GET /wp-json/bricksforge/v1/form_submit
- Seen in
- 1 repo: RootMantap/CVE-2026-85097
- Evidence
- RootMantap/CVE-2026-85097/cve-2026-85097noname9619.py:137
POST /wp-json/bricksforge/v1/form_file_upload
- Body markers
postId=formId=formIdFallback=fieldIds=temporaryFileUploads=action=bricksforge_form_submitinapplication/x-www-form-urlencoded- Seen in
- 1 repo: Wayang1337/CVE-2026-85097
- Evidence
- Wayang1337/CVE-2026-85097/poc.py:522
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/wp-admin/admin-ajax\.php(?:[?#].*)?$
(?i)^/wp-json/bricksforge/v1/form_submit(?:[?#].*)?$
(?i)^/\?(?:.*&)?rest_route=/bricksforge/v1/form_submit
(?i)^/wp-content/uploads/bricksforge/tmp/img_example\.php(?:[?#].*)?$
(?i)^/wp-content/uploads/bricksforge/tmp/(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080,8443,8899,8900,8901] (msg:"GG PoC-Monitor CVE-2026-85097 Bricksforge Bricksforge exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wp-admin/admin-ajax.php"; http.request_body; content:"action=bricksforge_regenerate_nonce"; reference:url,poc.griffinguard.io/cve/CVE-2026-85097; classtype:web-application-attack; sid:9109309; rev:1;)
alert http any any -> $HOME_NET [8080,8443,8899,8900,8901] (msg:"GG PoC-Monitor CVE-2026-85097 Bricksforge Bricksforge exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wp-json/bricksforge/v1/form_submit"; http.request_body; content:"|22|temporaryFileUploads|22|"; http.request_body; content:"|22|file|22|"; http.request_body; content:"|22|file|22|:|22|/tmp/a.gif|22|"; http.request_body; content:"|22|url|22|:|22|https://your-site/a.php|22|"; http.request_body; content:"|22|field|22|:|22|form-field-file|22|"; http.request_body; content:"|22|file|22|:|22|/var/www/example.com/wp-content/uploads/bricksforge/tmp/img_example.gif|22|"; http.request_body; content:"|22|url|22|:|22|https://example.com/wp-content/uploads/bricksforge/tmp/img_example.php|22|"; http.request_body; content:"|22|type|22|:|22|image/gif|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-85097; classtype:web-application-attack; sid:9109205; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-85097 Bricksforge Bricksforge exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"rest_route=/bricksforge/v1/form_submit"; http.request_body; content:"postId="; http.request_body; content:"formId="; http.request_body; content:"formIdFallback="; http.request_body; content:"fieldIds="; http.request_body; content:"temporaryFileUploads="; http.request_body; content:"action=bricksforge_form_submit"; reference:url,poc.griffinguard.io/cve/CVE-2026-85097; classtype:web-application-attack; sid:9507183; rev:1;)
alert http any any -> $HOME_NET [8080,8443,8899,8900,8901] (msg:"GG PoC-Monitor CVE-2026-85097 Bricksforge Bricksforge exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-content/uploads/bricksforge/tmp/img_example.php"; reference:url,poc.griffinguard.io/cve/CVE-2026-85097; classtype:web-application-attack; sid:9304616; rev:1;)
alert http any any -> $HOME_NET [8080,8443,8899,8900,8901] (msg:"GG PoC-Monitor CVE-2026-85097 Bricksforge Bricksforge exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-content/uploads/bricksforge/tmp/"; reference:url,poc.griffinguard.io/cve/CVE-2026-85097; classtype:web-application-attack; sid:9441184; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Bricksforge Bricksforge exploit attempt (CVE-2026-85097)
id: gg-pocmon-cve-2026-85097-9109309
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-85097. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-85097
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/wp-admin/admin-ajax.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.85097
title: Bricksforge Bricksforge exploit attempt (CVE-2026-85097)
id: gg-pocmon-cve-2026-85097-9109205
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-85097. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-85097
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/wp-json/bricksforge/v1/form_submit'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.85097
title: Bricksforge Bricksforge exploit attempt (CVE-2026-85097)
id: gg-pocmon-cve-2026-85097-9507183
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-85097. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-85097
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-query|contains|all:
- 'rest_route=/bricksforge/v1/form_submit'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.85097
title: Bricksforge Bricksforge exploit attempt (CVE-2026-85097)
id: gg-pocmon-cve-2026-85097-9304616
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-85097. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-85097
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-content/uploads/bricksforge/tmp/img_example.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.85097
title: Bricksforge Bricksforge exploit attempt (CVE-2026-85097)
id: gg-pocmon-cve-2026-85097-9441184
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-85097. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-85097
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-content/uploads/bricksforge/tmp/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.85097