CVE-2026-25732
Last modified
CVE-2026-25732 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 3.21% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Zauberzeug | Nicegui | < 3.7.0 |
References
- https://github.com/zauberzeug/nicegui/security/advisories/GHSA-9ffm-fxg3-xrhhExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-25732?
How severe is CVE-2026-25732?
How do I fix CVE-2026-25732?
Are you affected by CVE-2026-25732?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
