---
id: CVE-2026-85097
title: >-
  The Bricksforge plugin for WordPress is vulnerable to unauthenticated
  arbitrary file upload in versions up to, and including, 3.1.8.9
summary: >-
  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
  'temporaryFileUploa…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-434
vendor: Bricksforge
product: Bricksforge
affected:
  - Bricksforge <= 3.1.8.9
published: '2026-10-08'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T17:24:11.230'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-85097'
references:
  - url: 'https://bricksforge.io/version-changelog/'
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/e993c929-f175-43a7-92e6-9d3b089b8dde?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.03287
epssPercentile: 0.8841
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-10-08T14:24:30.449178Z'
ingestedAt: '2026-10-08T07:18:54.845Z'
exploits:
  github: 5
  githubRepos:
    - 'https://github.com/tc4dy/CVE-2026-85097-Toolkit'
    - 'https://github.com/Wayang1337/CVE-2026-85097'
    - 'https://github.com/Masriyan/CVE-2026-85097'
  nuclei:
    - CVE-2026-85097
  checkedAt: '2026-10-27T19:17:49.186Z'
exploitAvailable: true
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
