Back to Database
Status published
High
CVE-2025-66645
NiceGUI Path Traversal Vulnerability in app.add_media_files() Allows Arbitrary File Reading
Vulnerability 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.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
THREAT MONITOR
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-66645
Credits & Attribution
No credits recorded in the NVD database.
References
More from zauberzeug
View All →CVE-2025-66470
NiceGUI Stored/Reflected XSS in ui.interactive_image via unsanitized SVG content
Medium
6.1
CVE-2025-66469
NiceGUI Reflected XSS in ui.add_css, ui.add_scss, and ui.add_sass via Style Injection
Medium
6.1
CVE-2025-53354
NiceGUI is vulnerable to Reflected XSS attack
Medium
6.1
CVE-2025-21618
NiceGUI On Air authentication issue
High
7.5
CVE-2024-32005
Local File Inclusion in NiceGUI leaflet component
High
8.2
Affected Vendor
zauberzeug
View all reports →Affected Software
nicegui
Vulnerable Versions:
< 3.4.0
Timeline
Official Publish:
December 9th, 2025
Last Modified:
December 10th, 2025
Added to House:
July 22nd, 2026
CVSS Vectors
V3:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N