High severityNVD Advisory· Published Dec 9, 2025· Updated Dec 10, 2025
NiceGUI Path Traversal Vulnerability in app.add_media_files() Allows Arbitrary File Reading
CVE-2025-66645
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
niceguiPyPI | < 3.4.0 | 3.4.0 |
Affected products
2- Range: < 3.4.0
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-hxp3-63hc-5366ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-66645ghsaADVISORY
- github.com/zauberzeug/nicegui/commit/a1b89e2a24e1911a40389ace2153a37f4eea92a9ghsax_refsource_MISCWEB
- github.com/zauberzeug/nicegui/security/advisories/GHSA-hxp3-63hc-5366ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.