CVE-2025-66645: zauberzeug nicegui · Path Traversal
Affects zauberzeug niceguiSource CVE Database V5
Not known to be exploited · CVSS 7.5 High : upgrade to 3.4.0 soon.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 1.1% chance of exploitation in 30 days – higher than 65% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.4.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade zauberzeug nicegui to 3.4.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIniceguipkg:pypi/niceguiOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The primary mitigation is to upgrade all instances of NiceGUI to version 3.4.0 or later, where the vulnerability is fixed. Organizations should audit their software inventories to identify deployments of affected NiceGUI versions. For environments where immediate upgrading is not feasible, implementing strict network segmentation and access controls to limit exposure of the NiceGUI service can reduce risk. Web application firewalls (WAFs) can be configured to detect and block path traversal patterns targeting the add_media_files() endpoint. Additionally, monitoring server logs for unusual file access patterns or directory traversal attempts can provide early detection of exploitation attempts. Developers should review and harden input validation routines in custom code interacting with NiceGUI. Finally, organizations should incorporate this vulnerability into their incident response plans and ensure timely patch management processes are in place to address similar future risks.
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.