CVE-2025-66645
Zauberzeug Nicegui vulnerability
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.
Affected products
Nicegui. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Zauberzeug Nicegui runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/zauberzeug/nicegui/security/advisories/GHSA-hxp3-63hc-5366
- github.com/zauberzeug/nicegui/commit/a1b89e2a24e1911a40389ace2153a37f4eea92a9
- nvd.nist.gov/vuln/detail/CVE-2025-66645
- github.com/advisories/GHSA-hxp3-63hc-5366
- nvd.nist.gov/vuln/detail/CVE-2025-66645
- cve.org/CVERecord?id=CVE-2025-66645
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.