{"id":"CVE-2025-66645","state":"PUBLISHED","title":"NiceGUI Path Traversal Vulnerability in app.add_media_files() Allows Arbitrary File Reading","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.","publishedAt":"2025-12-09T21:41:32.049Z","updatedAt":"2025-12-10T16:50:41.291Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["zauberzeug nicegui"],"affected":[{"vendor":"zauberzeug","product":"nicegui","versions":[{"version":"< 3.4.0","status":"affected"}]}],"references":["https://github.com/zauberzeug/nicegui/security/advisories/GHSA-hxp3-63hc-5366","https://github.com/zauberzeug/nicegui/commit/a1b89e2a24e1911a40389ace2153a37f4eea92a9"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/66xxx/CVE-2025-66645.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-66645","state":"PUBLISHED","datePublished":"2025-12-09T21:41:32.049Z","dateUpdated":"2025-12-10T16:50:41.291Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-12-05T20:23:19.595Z"},"containers":{"cna":{"title":"NiceGUI Path Traversal Vulnerability in app.add_media_files() Allows Arbitrary File Reading","descriptions":[{"lang":"en","value":"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":[{"vendor":"zauberzeug","product":"nicegui","versions":[{"version":"< 3.4.0","status":"affected"}]}],"references":[{"url":"https://github.com/zauberzeug/nicegui/security/advisories/GHSA-hxp3-63hc-5366","name":"https://github.com/zauberzeug/nicegui/security/advisories/GHSA-hxp3-63hc-5366","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/zauberzeug/nicegui/commit/a1b89e2a24e1911a40389ace2153a37f4eea92a9","name":"https://github.com/zauberzeug/nicegui/commit/a1b89e2a24e1911a40389ace2153a37f4eea92a9","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-12-09T21:41:32.049Z"},"source":{"advisory":"GHSA-hxp3-63hc-5366","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/zauberzeug/nicegui/security/advisories/GHSA-hxp3-63hc-5366","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-12-10T16:14:20.157622Z","id":"CVE-2025-66645","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-12-10T16:50:41.291Z"}}]}}}