CVE-2025-66645
High
Description
NiceGUI is a Python-based UI framework. Versions 3.3.1 and below are vulnerable to directory traversal through the App.add_media_files() function, which allows a remote attacker to read arbitrary files on the server filesystem. This issue is fixed in version 3.4.0.
SeverityHigh
CVSS7.5
Exploit probability—
ProductZauberzeug Nicegui
PublishedDec 9, 2025
First seenDec 9, 2025
Weakness typeCWE-22Path traversal
How to fix
Update
- zauberzeug nicegui3.4.0 or later
- nicegui3.4.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| zauberzeug nicegui | v < 3.4.0 | 3.4.0 |
| niceguiPyPI | v < 3.4.0 | 3.4.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.