Vulnerability
CVE-2025-66645
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.
2 advisories report this vulnerability, across 1 ecosystem.
Advisories
-
GHSA-hxp3-63hc-5366
NiceGUI has a path traversal in app.add_media_files() allows arbitrary file read
-
PYSEC-2026-1700
NiceGUI has a path traversal in app.add_media_files() allows arbitrary file read