CVE-2026-85097: 
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-85097 is a critical unauthenticated arbitrary file upload vulnerability in the Bricksforge plugin for WordPress, enabling remote code execution (RCE) without any authentication. It affects all versions up to and including 3.1.8.9. The vulnerability was published on October 8, 2026, with active exploitation reported within hours of disclosure. It carries a CVSS v3.1 base score of 9.8 (Critical) (GitHub Advisory, Wordfence).

Technical details

The root cause is classified as CWE-434 (Unrestricted Upload of File with Dangerous Type), stemming from insufficient server-side validation of the attacker-controlled url field within the temporaryFileUploads parameter during form submission. The attack chain involves three steps: first, an unauthenticated attacker obtains a valid nonce via the publicly accessible bricksforge_regenerate_nonce AJAX endpoint; second, the attacker uploads a GIF/PHP polyglot file to the temporary upload directory, which passes MIME type validation because the server correctly identifies it as a GIF; third, the attacker submits a crafted form where the server-side file path references the validated GIF file but the attacker-controlled url field ends with a .php extension, causing the server to treat and execute the file as PHP. This logic flaw effectively bypasses MIME type enforcement by decoupling the validated file path from the extension used for execution (GitHub Advisory, Patchstack).

Impact

Successful exploitation grants an unauthenticated remote attacker full PHP code execution on the WordPress server, resulting in complete compromise of confidentiality, integrity, and availability. Attackers can exfiltrate all site data (including credentials, user PII, and database contents), deface or modify site content, install persistent backdoors or web shells, and use the compromised server as a pivot point for lateral movement within the hosting environment. All WordPress sites running Bricksforge ≤ 3.1.8.9 with the plugin's Pro Forms feature active are within scope (GitHub Advisory, SOCRadar).

Exploitability

The vulnerability is being actively exploited in the wild, with automated attacks reported within hours of the October 7–8, 2026 public disclosure (DeafNews, SecurityWeek). Multiple public PoC repositories exist on GitHub (e.g., Wayang1337/CVE-2026-85097, tc4dy/CVE-2026-85097-Toolkit, RootMantap/CVE-2026-85097, BlackHatExploitation/CVE-2026-85097), and a Nuclei detection template has been submitted to ProjectDiscovery's template repository. The EPSS score is approximately 0.312% (23rd percentile), though real-world exploitation activity suggests higher practical risk. As of the time of reporting, the vulnerability does not appear in the CISA KEV catalog, despite being noted as a CVSS 9.8 flaw under active exploitation (GitHub Advisory, Duggan USA).

Exploitation steps

  1. Reconnaissance: Use FOFA, Shodan, or Censys with the dork body="wp-content/plugins/bricksforge" to identify WordPress sites running the Bricksforge plugin version ≤ 3.1.8.9.
  2. Obtain a valid nonce: Send an unauthenticated HTTP request to the bricksforge_regenerate_nonce AJAX endpoint (e.g., POST /wp-admin/admin-ajax.php?action=bricksforge_regenerate_nonce) to retrieve a valid WordPress nonce required for subsequent requests.
  3. Craft a GIF/PHP polyglot file: Create a file that begins with a valid GIF header (GIF89a) followed by a PHP webshell payload (e.g., <?php system($_GET['cmd']); ?>). Save the file with a .gif extension so it passes MIME type validation on upload.
  4. Upload the polyglot file: Submit the polyglot file to the Bricksforge temporary file upload endpoint using the obtained nonce. The server validates the MIME type as image/gif and stores the file in the temporary upload directory.
  5. Trigger PHP execution via crafted form submission: Submit a form request with a crafted temporaryFileUploads parameter where the server-side file path references the uploaded polyglot file, but the attacker-controlled url field is set to a path ending in .php (e.g., shell.php). The server copies or references the file using the attacker-supplied .php extension.
  6. Execute arbitrary PHP code: Access the uploaded .php file via its web-accessible URL to execute arbitrary commands on the server (e.g., https://target.com/wp-content/uploads/bricksforge-tmp/shell.php?cmd=id), achieving full RCE as the web server user (Patchstack, GitHub Advisory).

Indicators of compromise

  • Network: Unusual POST requests to /wp-admin/admin-ajax.php?action=bricksforge_regenerate_nonce from external IPs with no prior session; repeated form submission requests containing temporaryFileUploads parameters with .php extensions in the url field; outbound connections from the web server to unknown external IPs (potential reverse shell or C2 traffic).
  • File System: Unexpected .php files in the Bricksforge temporary upload directory (typically under wp-content/uploads/bricksforge-tmp/ or similar); GIF/PHP polyglot files (files with GIF headers but containing PHP code) in upload directories; newly created web shells or backdoor scripts in the WordPress installation.
  • Logs: Web server access logs showing GET/POST requests to .php files in temporary upload directories; access log entries with shell command patterns in query strings (e.g., ?cmd=, ?exec=); WordPress debug logs showing unexpected file operations or PHP execution errors related to Bricksforge form handling.
  • Process: Unusual child processes spawned by the web server process (e.g., apache2, nginx, php-fpm) such as bash, sh, curl, wget, or python; unexpected cron jobs or scheduled tasks created under the web server user account (Patchstack, SOCRadar).

Mitigation and workarounds

Update the Bricksforge plugin to a version newer than 3.1.8.9 immediately, as a patch has been released (Bricksforge Changelog). As a temporary workaround if immediate patching is not possible, consider disabling the Bricksforge plugin entirely or restricting access to the wp-admin/admin-ajax.php endpoint for unauthenticated users via WAF rules or server configuration. Additionally, implement server-side controls to prevent PHP execution in WordPress upload directories (e.g., via .htaccess rules denying PHP execution in wp-content/uploads/). Monitor web server logs for exploitation indicators and review any recently uploaded files in Bricksforge temporary directories for signs of compromise (Wordfence, Patchstack).

Community reactions

The vulnerability received significant coverage across the security community, with The Hacker News, SecurityWeek, GBHackers, and CyberSecurityNews all reporting on active exploitation (The Hacker News, SecurityWeek). Wordfence published a weekly vulnerability report covering the flaw, and Patchstack provided a detailed technical write-up confirming exploitation in the wild (Wordfence Blog, Patchstack). Community discussion on Reddit's r/SecOpsDaily and Mastodon/Infosec.exchange highlighted the speed of exploitation — automated attacks began within hours of disclosure — and noted the vulnerability's absence from the CISA KEV catalog despite its severity (Reddit, Duggan USA). SOCRadar and CybelAngel also published dedicated threat intelligence reports on the exploitation campaign (SOCRadar, CybelAngel).

Additional resources


Source: This report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-112232MEDIUM6.8
  • popup-builder
NoNoNov 25, 2026
CVE-2026-112233MEDIUM5.3
  • popup-builder
NoNoNov 25, 2026
CVE-2026-16059MEDIUM4.3
  • popup-builder
NoNoNov 25, 2026
CVE-2026-112234MEDIUM4.1
  • popup-builder
NoNoNov 25, 2026
CVE-2026-112235LOW3.3
  • popup-builder
NoNoNov 25, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management