{
  "id": "CVE-2026-25732",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-25732",
  "published_at": "2026-02-06T21:09:58.389Z",
  "title": "NiceGUI's Path Traversal via Unsanitized FileUpload.name Enables Arbitrary File Write",
  "vendor": "zauberzeug",
  "product": "nicegui",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-02-08T10:18:51Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 1.5,
    "repo": "mbanyamer/CVE-2026-25732-NiceGUI-3.6.1",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "NiceGUI is a Python-based UI framework. Prior to 3.7.0, NiceGUI's FileUpload.name property exposes client-supplied filename metadata without sanitization, enabling path traversal when developers use the pattern UPLOAD_DIR / file.name. Malicious filenames containing ../ sequences allow attackers to write files outside intended directories, with potential for remote code execution through application file overwrites in vulnerable deployment patterns. This design creates a prevalent security footgun affecting applications following common community patterns. Note: Exploitation requires application code incorporating file.name into filesystem paths without sanitization. Applications using fixed paths, generated filenames, or explicit sanitization are not affected. This vulnerability is fixed in 3.7.0.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:zauberzeug:nicegui:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [
    {
      "repo": "mbanyamer/CVE-2026-25732-NiceGUI-3.6.1",
      "url": "https://github.com/mbanyamer/CVE-2026-25732-NiceGUI-3.6.1",
      "created_at": "2026-02-08T10:18:51Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-05-25T13:28:07Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "zauberzeug",
        "product": "nicegui",
        "ranges": [
          "\u003c 3.7.0"
        ],
        "fixed_in": [
          "3.7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade nicegui to 3.7.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/zauberzeug/nicegui/security/advisories/GHSA-9ffm-fxg3-xrhh"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/52534",
      "source": "exploitdb",
      "title": "NiceGUI 3.6.1 - Path Traversal",
      "published_at": "2026-04-30T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "///",
      "body_markers": [
        "name=\"file\""
      ],
      "content_type": "multipart/form-data",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "mbanyamer/CVE-2026-25732-NiceGUI-3.6.1"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "mbanyamer/CVE-2026-25732-NiceGUI-3.6.1/exploit_cve_2026_25732.py:53"
      ]
    }
  ],
  "rules": []
}
