CVE-2026-25732: zauberzeug nicegui · Path Traversal
Affects zauberzeug niceguiSource CVE Database V5
Not known to be exploited · public exploit available (Exploit-DB) · CVSS 7.5 High : upgrade to 3.7.0 as a priority.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 3.4% chance of exploitation in 30 days – higher than 88% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.7.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NExploitation evidence
t = 0 is the CVE’s publication on cve.org
Disclosed: evidence found.
CVE published 6 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: evidence found.
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
Timeline
CVE ID reserved
by GitHub_M
, 28 hours before disclosure
CVE published
on cve.org
, t = 0
In Threat Radar
record ingested
, 20 minutes after disclosure
First Exploit-DB entry (opens in a new tab)
NiceGUI 3.6.1 - Path Traversal
, 83 days after disclosure
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade zauberzeug nicegui to 3.7.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| zauberzeugnicegui | Affected
| Fixed in
|
PyPIniceguipkg:pypi/niceguiOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately upgrade all NiceGUI deployments to version 3.7.0 or later to ensure the vulnerability is patched. Where upgrading is not immediately feasible, developers must implement strict sanitization of all client-supplied filenames before incorporating them into filesystem paths. This includes removing or neutralizing directory traversal sequences such as '../' and restricting filenames to safe character sets. Additionally, adopting the use of generated or fixed filenames instead of client-supplied names can prevent exploitation. Implementing application-level controls such as sandboxing file upload directories, enforcing least privilege on file system permissions, and monitoring file system changes can further reduce risk. Security teams should audit existing applications for vulnerable usage patterns and conduct penetration testing to verify remediation. Finally, network-level protections like web application firewalls (WAFs) can be tuned to detect and block suspicious file upload requests containing traversal payloads.
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.