WordPress Security Alert: Critical Bricksforge Vulnerability Exposes Sites to Remote Code Execution
A critical vulnerability in the Bricksforge plugin for WordPress is being actively exploited, allowing unauthenticated attackers to upload and execute arbitrary PHP code on vulnerable websites. Tracked as CVE-2026-85097, the flaw stems from insufficient validation of file metadata during form submissions. Successful exploitation can enable attackers to compromise websites, access sensitive information, deploy web shells, and establish persistent access.
Summary
CVE-2026-85097 is a critical arbitrary file upload vulnerability that allows remote, unauthenticated attackers to achieve remote code execution (RCE) by exploiting insufficient validation of the url field in the temporaryFileUploads parameter during form submission.
Exploitation activity was first observed on October 7, 2026. Attackers have targeted the plugin's form submission endpoints and attempted to bypass file-extension filtering through alternate PHP extensions, case manipulation, and encoded extensions.
Vulnerability Details
| CVE ID | CVSS Score | EPSS Score | Vulnerability Type |
|---|---|---|---|
| CVE-2026-85097 | 10.0 (Critical) | 0.31% | Arbitrary File Upload / Remote Code Execution |
Affected Versions
Bricksforge versions up to and including 3.1.8.9 are affected by CVE-2026-85097.
Fixed Version
Upgrade Bricksforge to version 3.1.8.10 or later to address the vulnerability.
Technical Information
CVE-2026-85097: Unauthenticated Arbitrary File Upload Leading to RCE
The vulnerability originates from insufficient validation of uploaded file metadata during form submission. Although the plugin validates a file's MIME type during the initial upload, it does not adequately validate the client-supplied url field within the temporaryFileUploads parameter when processing a subsequent form submission.
An unauthenticated attacker can obtain a valid nonce through the bricksforge_regenerate_nonce AJAX endpoint and upload a GIF/PHP polyglot file to the temporary upload directory. This file appears to be a valid image while also containing PHP code, allowing it to pass the initial MIME type validation.
The attacker can then submit a crafted form request that references the uploaded image through the server-side file path while specifying a PHP-based destination in the url field. Because the submitted metadata is insufficiently validated, the file contents can be placed at a PHP execution path, allowing the embedded code to execute when the resulting file is requested.
Observed exploitation attempts targeted the following endpoints:
-
/wp-json/bricksforge/v1/form_submit -
/wp-admin/admin-ajax.phpusing thebricksforge_form_submitaction
Attackers have attempted to evade extension filtering using alternate PHP extensions such as .php5, .php7, and .phtml, mixed-case extensions such as .PHP and .pHp, and encoded extensions such as .%70hp, %2ephp, and .%2570%2568%2570.
Impact
Successful exploitation can result in the following security impacts:
- Remote Code Execution: Attackers can execute arbitrary PHP code on the affected server, potentially gaining control over the application environment.
- Website Compromise: Attackers can gain unauthorized control over the WordPress website and modify its content, functionality, or configuration.
- Sensitive Data Exposure: Attackers may access sensitive files, application data, configuration details, or credentials available to the compromised server process.
- Web Shell Deployment: Attackers can upload malicious PHP files or web shells to execute commands remotely and maintain control of the compromised website.
- Persistent Unauthorized Access: Attackers may maintain access through malicious files, unauthorized account changes, or other modifications made after successful exploitation.
MITRE ATT&CK Mapping
| Technique ID | Technique Name | Tactic |
|---|---|---|
| T1190 | Exploit Public-Facing Application | Initial Access |
Indicators of Compromise (IoCs)
The observed exploitation activity originated from 63 unique source IP addresses. Six IP addresses accounted for approximately 46% of the recorded requests.
Observed Source IP Addresses
| Indicator Type | Value |
|---|---|
| Source IP | 177.75.57[.]20 |
| Source IP | 23.97.62[.]146 |
| Source IP | 84.247.60[.]125 |
| Source IP | 38.154.185[.]97 |
| Source IP | 150.109.16[.]166 |
| Source IP | 153.75.90[.]146 |
Additional Attack Indicators
| Indicator Type | Value |
|---|---|
| Request Parameter | temporaryFileUploads |
| Temporary Upload Directory | /wp-content/uploads/bricksforge/tmp/ |
| AJAX Action | bricksforge_form_submit |
| Nonce Endpoint | bricksforge_regenerate_nonce |
| Alternate PHP Extensions | .php5, .php7, .phtml |
| Encoded Extension Patterns | .%70hp, %2ephp, .%2570%2568%2570 |
These indicators should be correlated with web server logs and file-system activity. Their presence can support an investigation but does not independently confirm successful compromise.
Mitigation and Recommendations
- Update Bricksforge: Upgrade to version 3.1.8.10 or later to address the vulnerability.
-
Review Web Server Logs:
Investigate suspicious requests to the form submission endpoints, particularly those containing crafted
temporaryFileUploadsparameters or mismatched file paths and URLs. -
Inspect Temporary Uploads:
Examine
/wp-content/uploads/bricksforge/tmp/for unexpected PHP files, image/PHP polyglots, and unauthorized file modifications. - Investigate Potential Compromise: Check for web shells, suspicious PHP execution, unauthorized changes, and signs of persistence. Remove malicious artifacts and restore affected systems from trusted sources as necessary.
- Strengthen File Upload Validation: Validate file contents, extensions, destination paths, and metadata on the server. Do not trust client-supplied URLs to determine file placement or executable paths.
Instantly Fix Risks with Saner Patch Management
Saner patch management is a continuous, automated, and integrated solution that helps you quickly remediate risks, including critical network infrastructure updates. It supports Windows, Linux, macOS, and 550+ third-party applications.
It also allows you to set up a safe testing area to test patches before deploying them in a primary production environment. Saner patch management additionally supports a patch rollback feature in case of patch failure or a system malfunction.
Experience the fastest and most accurate patching software here.




