Vulnerability Description
NiceGUI is a Python-based UI framework. Prior to 3.10.0, Since PurePosixPath only recognizes forward slashes (/) as path separators, an attacker can bypass this sanitization on Windows by using backslashes (\) in the upload filename. Applications that construct file paths using file.name (a pattern demonstrated in NiceGUI's bundled examples) are vulnerable to arbitrary file write on Windows. This vulnerability is fixed in 3.10.0.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Zauberzeug | Nicegui | < 3.10.0 |
| Microsoft | Windows | - |
Related Weaknesses (CWE)
References
- https://github.com/zauberzeug/nicegui/commit/d38a702e3af2da5b0708f689be8d71413fcPatch
- https://github.com/zauberzeug/nicegui/releases/tag/v3.10.0Release Notes
- https://github.com/zauberzeug/nicegui/security/advisories/GHSA-w8wv-vfpc-hw2wVendor Advisory
FAQ
What is CVE-2026-39844?
CVE-2026-39844 is a vulnerability with a CVSS score of 5.9 (MEDIUM). NiceGUI is a Python-based UI framework. Prior to 3.10.0, Since PurePosixPath only recognizes forward slashes (/) as path separators, an attacker can bypass this sanitization on Windows by using backsl...
How severe is CVE-2026-39844?
CVE-2026-39844 has been rated MEDIUM with a CVSS base score of 5.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-39844?
Check the references section above for vendor advisories and patch information. Affected products include: Zauberzeug Nicegui, Microsoft Windows.