CVE-2026-85097
JSON

9.8critical

Bricksforge <= 3.1.8.9 - Unauthenticated Arbitrary File Upload via 'temporaryFileUploads' Parameter

Severity
9.8critical CVSS:3.1 by Wordfence
Exploit likelihood
3.65% (higher than 89% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wordfence

Description

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

Product or packageVersionsReported by
Bricksforge Bricksforgeup to 3.1.8.9CVE List

Classification

CWE-434

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-85097 changed 2026-10-08CVE Terms of Use
NVDCVE-2026-85097 changed 2026-10-08Public domain