{"id":"CVE-2024-32005","published":"2024-04-12T20:38:51Z","modified":"2024-09-06T17:57:52Z","title":"Local File Inclusion in NiceGUI leaflet component","vendor":"zauberzeug","product":"nicegui","tier":"tail","description":{"text":"NiceGUI is an easy-to-use, Python-based UI framework. A local file inclusion is present in the NiceUI leaflet component when requesting resource files under the `/_nicegui/{__version__}/resources/{key}/{path:path}` route. As a result any file on the backend filesystem which the web server has access to can be read by an attacker with access to the NiceUI leaflet website. This vulnerability has been addressed in version 1.4.21. Users are advised to upgrade. There are no known workarounds for this vulnerability.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0076,"percentile":0.56202,"provenance":"source"},"cwes":[{"id":"CWE-23","name":"Relative Path Traversal"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/zauberzeug/nicegui/security/advisories/GHSA-mwc7-64wg-pgvj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/zauberzeug/nicegui/commit/ed12eb14f2a6c48b388a05c04b3c5a107ea9d330","tags":["x_refsource_MISC"]},{"url":"https://huntr.com/bounties/29ec621a-bd69-4225-ab0f-5bb8a1d10c67","tags":["x_refsource_MISC"]}],"priority":{"score":17.0,"factors":[{"name":"EPSS percentile","points":11.24},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"zauberzeug","affectedVersions":[{"vendor":"zauberzeug","product":"nicegui","versions":[">= 1.4.6, < 1.4.21"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-08-06T14:32:28.715560Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nicegui","vulnerableRanges":[">=1.4.6, <1.4.21"],"patched":["1.4.21"],"from":["GHSA-mwc7-64wg-pgvj","PYSEC-2026-1704"],"provenance":"source"}],"summary":{"text":"A path traversal flaw in NiceGUI's leaflet component lets a request to the /_nicegui/{__version__}/resources/{key}/{path:path} route read arbitrary files on the backend filesystem that the web server can access. An unauthenticated remote attacker who can reach the NiceGUI leaflet site can exploit it over the network with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:50:06Z"},"euvd":{"id":"EUVD-2024-1257","exploited":false,"provenance":"source"}}