{"id":"CVE-2025-66645","published":"2025-12-09T21:41:32Z","modified":"2025-12-10T16:50:41Z","title":"NiceGUI Path Traversal Vulnerability in app.add_media_files() Allows Arbitrary File Reading","vendor":"zauberzeug","product":"nicegui","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01201,"percentile":0.6895,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/zauberzeug/nicegui/security/advisories/GHSA-hxp3-63hc-5366","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/zauberzeug/nicegui/commit/a1b89e2a24e1911a40389ace2153a37f4eea92a9","tags":["x_refsource_MISC"]}],"priority":{"score":24.0,"factors":[{"name":"EPSS percentile","points":13.79},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-10-15","earliestUrl":"https://github.com/prokeon5991-wq/cve-2025-66645","repos":[{"name":"prokeon5991-wq/cve-2025-66645","url":"https://github.com/prokeon5991-wq/cve-2025-66645","stars":0,"created":"2026-10-15"}]},"first":{"date":"2026-10-15","source":"PoC-in-GitHub","url":"https://github.com/prokeon5991-wq/cve-2025-66645"},"provenance":"source"},"vendorSlug":"zauberzeug","affectedVersions":[{"vendor":"zauberzeug","product":"nicegui","versions":["< 3.4.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-12-10T16:14:20.157622Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nicegui","vulnerableRanges":["<3.4.0"],"patched":["3.4.0"],"from":["GHSA-hxp3-63hc-5366","PYSEC-2026-1700"],"provenance":"source"}],"summary":{"text":"A path traversal flaw in the App.add_media_files() function of zauberzeug's NiceGUI, a Python-based UI framework, lets files outside the intended directory be reached through that component. An unauthenticated remote attacker with no user interaction and no special configuration beyond the affected function being in use can read arbitrary files on the server's filesystem.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:17Z"},"euvd":{"id":"EUVD-2025-201931","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-53354","published":"2025-10-03","fixed":"3.0.0","kev":false,"link":{"from":"CVE-2025-53354","to":"CVE-2025-66645","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:nicegui","fromFixed":"3.0.0","toFixed":"3.4.0","daysApart":67}]}},{"cve":"CVE-2025-66469","published":"2025-12-08","fixed":"3.4.0","kev":false},{"cve":"CVE-2025-66470","published":"2025-12-09","fixed":"3.4.0","kev":false},{"cve":"CVE-2025-66645","published":"2025-12-09","fixed":"3.4.0","kev":false},{"cve":"CVE-2026-21871","published":"2026-01-08","fixed":"3.5.0","kev":false},{"cve":"CVE-2026-21872","published":"2026-01-08","fixed":"3.5.0","kev":false},{"cve":"CVE-2026-21873","published":"2026-01-08","fixed":"3.5.0","kev":false}],"package":"PyPI:nicegui"}}