Summary
CVE-2026-85097 is a critical unrestricted file upload vulnerability in the Bricksforge plugin for WordPress, affecting all versions up to and including 3.1.8.9. Insufficient validation of the temporaryFileUploads parameter allows an unauthenticated attacker to upload a malicious file and achieve remote code execution on the underlying web server. The flaw carries a CVSS v3.1 base score of 9.8 (Critical).
Technical details
- Root cause: The plugin fails to properly validate file type and the server-side file path when processing temporary file uploads via the
temporaryFileUploadsparameter, classified under CWE-434 (Unrestricted Upload of File with Dangerous Type). - Trigger conditions: An attacker first obtains a valid nonce through the plugin’s nonce-regeneration AJAX endpoint, then uploads a GIF/PHP polyglot file. A subsequent crafted request references the validated GIF file server-side while the attacker-controlled URL field is given a
.phpextension, allowing the uploaded payload to be executed as PHP code. - Attack vector: Network-based, requiring no authentication and no user interaction (AV:N/AC:L/PR:N/UI:N).
- Impact: Successful exploitation results in arbitrary PHP code execution on the host, yielding full compromise of confidentiality, integrity, and availability of the affected WordPress site.
Affected software
- Bricksforge plugin for WordPress — versions up to and including 3.1.8.9
Severity
- CVSS v3.1 Base Score: 9.8 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: Update Bricksforge to a version released after 3.1.8.9 that addresses this unrestricted file upload issue. Check the vendor’s official changelog to confirm the version containing the fix and apply it as soon as it is available.
- If no patch is applied yet: Restrict or disable public access to the plugin’s file-upload and nonce-regeneration AJAX endpoints at the web server or WAF layer, monitor for unexpected
.phpfiles written to upload directories, and disable execution of PHP in upload directories via server configuration as a defense-in-depth measure until the plugin is updated.

