{
  "id": "CVE-2026-85097",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-85097",
  "published_at": "2026-10-08T06:42:09.676Z",
  "title": "Bricksforge \u003c= 3.1.8.9 - Unauthenticated Arbitrary File Upload via 'temporaryFileUploads' Parameter",
  "vendor": "Bricksforge",
  "product": "Bricksforge",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-10-10T04:51:32Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 1.9,
    "repo": "Wayang1337/CVE-2026-85097",
    "source": "github"
  },
  "poc_repo_count": 5,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-434",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [
    {
      "repo": "Wayang1337/CVE-2026-85097",
      "url": "https://github.com/Wayang1337/CVE-2026-85097",
      "created_at": "2026-10-10T04:51:32Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-12-02T13:04:05Z"
    },
    {
      "repo": "tc4dy/CVE-2026-85097-Toolkit",
      "url": "https://github.com/tc4dy/CVE-2026-85097-Toolkit",
      "created_at": "2026-10-12T16:15:51Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 5,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-07-20T20:34:17Z"
    },
    {
      "repo": "Masriyan/CVE-2026-85097",
      "url": "https://github.com/Masriyan/CVE-2026-85097",
      "created_at": "2026-10-13T05:39:40Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-10-16T17:51:16Z"
    },
    {
      "repo": "RootMantap/CVE-2026-85097",
      "url": "https://github.com/RootMantap/CVE-2026-85097",
      "created_at": "2026-10-14T01:08:11Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-01-06T09:12:46Z"
    },
    {
      "repo": "BlackHatExploitation/CVE-2026-85097",
      "url": "https://github.com/BlackHatExploitation/CVE-2026-85097",
      "created_at": "2026-10-15T12:41:13Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-11-15T20:01:12Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Bricksforge",
        "product": "Bricksforge",
        "ranges": [
          "\u003c= 3.1.8.9"
        ],
        "fixed_in": null
      }
    ],
    "references": [
      {
        "kind": "Release notes",
        "url": "https://bricksforge.io/version-changelog/"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-85097.yaml",
      "source": "nuclei",
      "title": "nuclei template: Bricksforge WordPress Plugin \u003c=3.1.8.9 - Unauthenticated Arbitrary File Upload",
      "published_at": "2026-10-22T11:40:19Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/wp-admin/admin-ajax.php",
      "body_markers": [
        "action=bricksforge_regenerate_nonce"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        8080,
        8443,
        8899,
        8900,
        8901
      ],
      "protocol": "https",
      "repos": [
        "Masriyan/CVE-2026-85097",
        "RootMantap/CVE-2026-85097",
        "Wayang1337/CVE-2026-85097"
      ],
      "repo_count": 3,
      "confidence": 0.85,
      "evidence": [
        "Masriyan/CVE-2026-85097/docs/DETECTION-AND-RESPONSE.md:527",
        "Masriyan/CVE-2026-85097/docs/VULNERABILITY-ANALYSIS.md:139",
        "RootMantap/CVE-2026-85097/cve-2026-85097noname9619.py:502",
        "Wayang1337/CVE-2026-85097/poc.py:420"
      ]
    },
    {
      "method": "POST",
      "path_template": "/wp-json/bricksforge/v1/form_submit",
      "body_markers": [
        "\"temporaryFileUploads\"",
        "\"file\"",
        "\"file\":\"/tmp/a.gif\"",
        "\"url\":\"https://your-site/a.php\"",
        "\"field\":\"form-field-file\"",
        "\"file\":\"/var/www/example.com/wp-content/uploads/bricksforge/tmp/img_example.gif\"",
        "\"url\":\"https://example.com/wp-content/uploads/bricksforge/tmp/img_example.php\"",
        "\"type\":\"image/gif\""
      ],
      "content_type": "application/json",
      "ports": [
        8080,
        8443,
        8899,
        8900,
        8901
      ],
      "protocol": "https",
      "repos": [
        "Masriyan/CVE-2026-85097",
        "RootMantap/CVE-2026-85097"
      ],
      "repo_count": 2,
      "confidence": 0.85,
      "evidence": [
        "Masriyan/CVE-2026-85097/docs/DETECTION-AND-RESPONSE.md:241",
        "Masriyan/CVE-2026-85097/docs/VULNERABILITY-ANALYSIS.md:170",
        "RootMantap/CVE-2026-85097/cve-2026-85097noname9619.py:722"
      ]
    },
    {
      "method": "POST",
      "path_template": "/",
      "query_markers": [
        "rest_route=/bricksforge/v1/form_submit"
      ],
      "body_markers": [
        "postId=",
        "formId=",
        "formIdFallback=",
        "fieldIds=",
        "temporaryFileUploads=",
        "action=bricksforge_form_submit"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "http",
      "repos": [
        "RootMantap/CVE-2026-85097",
        "Wayang1337/CVE-2026-85097"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "RootMantap/CVE-2026-85097/cve-2026-85097noname9619.py:745",
        "Wayang1337/CVE-2026-85097/poc.py:545"
      ]
    },
    {
      "method": "GET",
      "path_template": "/wp-content/uploads/bricksforge/tmp/img_example.php",
      "ports": [
        8080,
        8443,
        8899,
        8900,
        8901
      ],
      "protocol": "http",
      "repos": [
        "Masriyan/CVE-2026-85097"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "Masriyan/CVE-2026-85097/docs/VULNERABILITY-ANALYSIS.md:193"
      ]
    },
    {
      "method": "GET",
      "path_template": "/wp-content/uploads/bricksforge/tmp/",
      "ports": [
        8080,
        8443,
        8899,
        8900,
        8901
      ],
      "protocol": "https",
      "repos": [
        "Masriyan/CVE-2026-85097"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Masriyan/CVE-2026-85097/docs/DETECTION-AND-RESPONSE.md:523"
      ]
    },
    {
      "method": "GET",
      "path_template": "/wp-content/uploads/bricksforge/tmp/{var}.php",
      "ports": [
        8080,
        8443,
        8899,
        8900,
        8901
      ],
      "protocol": "http",
      "repos": [
        "Masriyan/CVE-2026-85097"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Masriyan/CVE-2026-85097/bricksforge_checker.py:1855"
      ]
    },
    {
      "method": "GET",
      "path_template": "/wp-json/bricksforge/v1/form_file_upload",
      "protocol": "https",
      "repos": [
        "Wayang1337/CVE-2026-85097"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Wayang1337/CVE-2026-85097/poc.py:134"
      ]
    },
    {
      "method": "GET",
      "path_template": "/wp-json/bricksforge/v1/form_submit",
      "protocol": "http",
      "repos": [
        "RootMantap/CVE-2026-85097"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "RootMantap/CVE-2026-85097/cve-2026-85097noname9619.py:137"
      ]
    },
    {
      "method": "POST",
      "path_template": "/wp-json/bricksforge/v1/form_file_upload",
      "body_markers": [
        "postId=",
        "formId=",
        "formIdFallback=",
        "fieldIds=",
        "temporaryFileUploads=",
        "action=bricksforge_form_submit"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "https",
      "repos": [
        "Wayang1337/CVE-2026-85097"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Wayang1337/CVE-2026-85097/poc.py:522"
      ]
    }
  ],
  "rules": []
}
