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

Critical 9.8 Published Updated

Unauthenticated attackers can upload and execute arbitrary PHP code via a crafted file upload parameter in the Bricksforge WordPress plugin.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-85097?

CVE-2026-85097 is a critical vulnerability in Bricksforge, published on 8 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-434

Which versions are affected by CVE-2026-85097?

How do I fix CVE-2026-85097?

No fix has been published for CVE-2026-85097 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-85097 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-85097 exists.

Public exploit code: 1 Nuclei template and 5 proofs of concept on GitHub.

Sources

Also known as GHSA-jfvp-gc8p-45gp.

Is CVE-2026-85097 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free