If you build WordPress sites with Bricks Builder and the Bricksforge add-on, check your plugin version before you finish this paragraph. CVE-2026-85097 is a maximum-severity, unauthenticated arbitrary file upload vulnerability in Bricksforge that lets anyone on the internet upload and execute PHP on your server — and attackers have been exploiting CVE-2026-85097 since October 7, 2026. It carries a CVSS score of 10.0, and the fix takes two minutes. The cleanup, if you were hit, takes much longer.
CVE-2026-85097 at a Glance
CVE-2026-85097 affects Bricksforge versions up to and including 3.1.8.9 and was patched in 3.1.8.10; the vendor’s current release line is 4.0.1, which is what you should update to. The bug is a two-stage validation failure in Bricksforge’s form file-upload handling. When a file is first uploaded, the plugin correctly checks its MIME type. But when the form is later submitted, the plugin trusts the file metadata the client sends back — including the url field inside the temporaryFileUploads parameter — without validating it. The attack, as documented by Patchstack, runs in four steps: the attacker fetches a valid nonce from the unauthenticated bricksforge_regenerate_nonce AJAX endpoint; uploads a GIF/PHP polyglot (a file that is a valid GIF image and also contains PHP code), which passes the MIME check and lands in the temporary upload directory; submits a form — via /wp-json/bricksforge/v1/form_submit or admin-ajax.php with action bricksforge_form_submit — whose server-side path points at the validated GIF while the destination url ends in .php; and finally requests the resulting file, executing the embedded PHP as the web server user. No account, no login, no user interaction. Patchstack first detected exploitation of CVE-2026-85097 on October 7, 2026 at 21:47 UTC, from 63 unique IP addresses, with automated clusters testing many file-extension and encoding bypasses.

Am I Affected by CVE-2026-85097?
Check the installed plugin version in WP Admin → Plugins, or from the command line with WP-CLI:
wp plugin list | grep -i bricksforge
If Bricksforge is active at 3.1.8.9 or older, your site is exploitable by CVE-2026-85097 by anyone, right now, whether or not your forms look “hidden” — the vulnerable endpoints are reachable without authentication. Note that the vulnerable code path involves the plugin’s form functionality, but do not talk yourself into “we don’t use forms, so we’re safe”: update first, reason later.
How to Patch CVE-2026-85097 Step by Step
Step 1 — Update Bricksforge immediately to the latest release (4.0.1; at minimum 3.1.8.10). Via WP-CLI:
wp plugin update bricksforge
Or update it from WP Admin → Dashboard → Updates. Because Bricksforge is a premium plugin, make sure your license is active so the update is actually offered.
Step 2 — If you cannot update, deactivate the plugin until you can. An absent plugin cannot be exploited; a vulnerable one is being scanned for constantly.
Step 3 — Verify the new version with wp plugin list and confirm your Bricks forms still submit correctly.
Step 4 — Harden the server underneath WordPress. Plugin bugs are inevitable; what decides the outcome is whether uploaded PHP can execute at all. That server-level defence — together with the general hardening in our Docker security basics guide — is what turns the next plugin zero-day into a non-event.
Temporary Mitigations for CVE-2026-85097
The single most effective stopgap is to block PHP execution inside the uploads directory, so even a successfully smuggled file cannot run. On Nginx, add a rule like this to your server block (before the PHP location):
location ~* ^/wp-content/uploads/.*\.php$ {
deny all;
}
On Apache, an equivalent .htaccess inside wp-content/uploads denying PHP handlers works. A WAF rule blocking requests containing temporaryFileUploads with a .php destination is another useful layer. None of these replace updating — they buy you hours, not immunity.
Detection: IoCs for CVE-2026-85097
Patching CVE-2026-85097 stops new exploitation; it does nothing about a shell planted last week. Hunt before you relax:
- Logs: search access logs for requests to
/wp-json/bricksforge/v1/form_submitandadmin-ajax.phpwith actionbricksforge_form_submitthat include atemporaryFileUploadsparameter, plus repeated identical form submissions. - Files: inspect
wp-content/uploads/bricksforge/tmp/and the rest ofwp-content/uploadsfor.phpfiles — uploads should never contain executable PHP. Watch in particular for names likelogin_admin_*.php. - Accounts and core: audit administrator users for accounts you did not create, and check
wp-content/mu-pluginsfor unfamiliar files.
find wp-content/uploads -name "*.php" -type f
If you find a shell or a rogue admin, treat the site as compromised: take a backup for forensics, reinstall WordPress core and plugins from clean sources, remove the backdoors, change every password, and rotate the salts in wp-config.php to force-logout every session. A detailed incident timeline and IoC list is available in BeyondMachines’ report on the Bricksforge exploitation.
Conclusion
CVE-2026-85097 is as bad as WordPress plugin flaws get: unauthenticated, trivially automated, and exploited within the wild since October 7. Update Bricksforge to the latest release today, block PHP in uploads as a permanent seatbelt, and audit your uploads folder and admin list before you consider the incident closed.