Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2025-66645 EUVD-2025-201931GHSA-hxp3-63hc-5366PYSEC-2026-1700

NiceGUI Path Traversal Vulnerability in app.add_media_files() Allows Arbitrary File Reading

Published Dec 9, 2025 · Updated Dec 10, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
zauberzeug nicegui < 3.4.0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI nicegui < 3.4.0 3.4.0 GHSA-hxp3-63hc-5366

References