CVE-2026-39844
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.
How to fix
- zauberzeug nicegui3.10.0 or later
- nicegui3.10.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| zauberzeug nicegui | v < 3.10.0 | 3.10.0 |
| niceguiPyPI | v < 3.10.0 | 3.10.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.