CVE-2025-66645 json
NiceGUI Path Traversal Vulnerability in app.add_media_files() Allows Arbitrary File Reading
published 11mo ago modified 26d ago also EUVD-2025-201931 , GHSA-hxp3-63hc-5366 , PYSEC-2026-1700
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 68%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Is CVE-2025-66645 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 10mo ago
Exploit prediction
1.20% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/zauberzeug/nicegui/security/advisories/GHSA-hxp3-63hc-5366 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | nicegui | <3.4.0 |
3.4.0 |
Affected products
- zauberzeug nicegui
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/zauberzeug/nicegui/commit/a1b89e2a24e1911a40389ace2153a37f4eea92a9
web, patch
-
github.com
/zauberzeug/nicegui/security/advisories/GHSA-hxp3-63hc-5366
exploit, web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-66645
advisory
-
github.com
/zauberzeug/nicegui
package
-
pypi.org
/project/nicegui
package
-
github.com
/advisories/GHSA-hxp3-63hc-5366
advisory
Sources
- CVE List CVE-2025-66645
- GitHub Advisory GHSA-hxp3-63hc-5366
- NVD CVE-2025-66645
- OSV PYSEC-2026-1700
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.