PoC Monitor
← All CVEs
CVE-2026-25732published 6 Feb 2026 21:09 UTCData: JSON · API

NiceGUI

NiceGUI's Path Traversal via Unsanitized FileUpload.name Enables Arbitrary File Write

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.

First public PoC 1.5 daysafter publication · 8 Feb 2026
Public PoCs21 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS7.5high · scored by CNA · CWE-22
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

zauberzeug nicegui
  • < 3.7.0

Fixed in 3.7.0

Mitigation

Upgrade nicegui to 3.7.0 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published6 Feb 2026 · t = 0First public PoC8 Feb 2026 · t+1.5d

First public PoC 1.5 days after publication; not in CISA KEV. First PoC: mbanyamer/CVE-2026-25732-NiceGUI-3.6.1 (created 8 Feb 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
mbanyamer/CVE-2026-25732-NiceGUI-3.6.1 8 Feb 2026 +1.5 d 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
Exploit-DBNiceGUI 3.6.1 - Path Traversal30 Apr 202614 Nov 2026

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

POST ///

Body markers
name="file" in multipart/form-data
Ports
8080
Seen in
1 repo: mbanyamer/CVE-2026-25732-NiceGUI-3.6.1
Evidence
mbanyamer/CVE-2026-25732-NiceGUI-3.6.1/exploit_cve_2026_25732.py:53

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST ///
(?i)^///(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST ///
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-25732 zauberzeug nicegui exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.request_body; content:"name=|22|file|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-25732; classtype:web-application-attack; sid:9581359; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST ///
title: zauberzeug nicegui exploit attempt (CVE-2026-25732)
id: gg-pocmon-cve-2026-25732-9581359
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-25732. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-25732
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.25732