Hackers Exploit Critical WordPress Bricksforge Plugin Flaw to Execute Remote Code

Hackers are actively exploiting a critical vulnerability in the Bricksforge WordPress plugin that lets unauthenticated attackers upload malicious files and run arbitrary PHP code.

Tracked as CVE-2026-85097, the flaw carries a CVSS score of 10.0 and affects versions up to 3.1.8.9. Patchstack first observed exploitation on October 7, 2026, at 21:47:17 UTC.

Bricksforge extends Bricks Builder with advanced forms, animations, dynamic data capabilities, and backend customization. Successful exploitation can let attackers deploy web shells, steal sensitive information, alter website content, and maintain persistent access to compromised servers.

Hackers Exploit Critical WordPress Bricksforge Plugin Flaw

The vulnerability stems from inconsistent validation between initial file uploads and subsequent form submissions. Bricksforge checks the uploaded file’s MIME type but later trusts metadata supplied by the client, including the unvalidated url field within the temporaryFileUploads parameter.

Attackers obtain a valid nonce through the unauthenticated bricksforge_regenerate_nonce AJAX endpoint, then upload a GIF/PHP polyglot containing both valid image data and executable PHP. The file passes the initial MIME check and enters the temporary upload directory.

During form submission, the attacker supplies metadata pairing the validated image’s server-side path with a destination URL ending in a PHP extension. Bricksforge places the file contents at that location, allowing a subsequent request to execute the embedded code.

Bricksforge plugin (Source: patchstack)
Bricksforge plugin (Source: patchstack)

Almost every observed attempt targeted POST /wp-json/bricksforge/v1/form_submit. One request instead used /wp-admin/admin-ajax.php with the bricksforge_form_submit action. Every captured request contained crafted temporaryFileUploads metadata.

In 95% of captured requests, the source path ended in .gif or .png; most paired that path with a PHP-related destination.

Attackers also tested alternative extensions, mixed capitalization, URL encoding, double encoding, and altered metadata fields to probe validation behavior. Some payloads targeted ordinary uploads directories using filenames matching login_admin_*.php.

Patchstack recorded 63 unique source IP addresses, with six accounting for approximately 46% of requests. One cluster involved 44 IPs sending 56 identical requests within seconds, while another used three IPs to test 25 extension and encoding variations.

These patterns suggest distributed automation but do not establish attribution to a single threat actor.

Administrators should update affected installations to version 3.1.8.10 or later and inspect historical logs for suspicious form submissions, image-to-PHP metadata mismatches, nonce requests, and unexpected executable files in upload directories.

Patchstack says its RapidMitigate protection was deployed before the first observed attack. Separately, Bricksforge released version 4.0.1 on October 8 with another Pro Forms upload security fix.

The vendor warns that this issue affects every site with Pro Forms enabled, even when forms contain no upload fields, reinforcing the need to install the latest security update.

Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort. Explore for your team 

Tamilselvan
Tamilselvanhttps://cyberpress.org/
Tamilselvan is an Investigative cybersecurity journalist dedicated to breaking stories on ransomware cartels, data breaches, and state-sponsored espionage.

Trending News

Related Stories