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
zauberzeug: nicegui
References3
- github.com/zauberzeug/nicegui/security/advisories/GHSA-hxp3-63h… ExploitVendor Advisory
- github.com/zauberzeug/nicegui/security/advisories/GHSA-hxp3-63h… ExploitVendor Advisory
- github.com/zauberzeug/nicegui/commit/a1b89e2a24e1911a40389ace21… Patch
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - EPSS — exploit probability
- 1% percentile: 69 · as of 11 November 2026
- CWE
- CWE-22
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.