{"id":"CVE-2025-53358","published":"2025-07-02T15:38:35Z","modified":"2025-07-02T16:00:23Z","title":"kotaemon Vulnerable to Path Traversal via Link Upload","vendor":"Cinnamon","product":"kotaemon","tier":"tail","description":{"text":"kotaemon is an open-source RAG-based tool for document comprehension. From versions 0.10.6 and prior, in libs/ktem/ktem/index/file/ui.py, the index_fn method accepts both URLs and local file paths without validation. The pipeline streams these paths directly and stores them, enabling attackers to traverse directories (e.g. ../../../../../.env) and exfiltrate sensitive files. This issue has been patched via commit 37cdc28, in version 0.10.7 which has not been made public at time of publication.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00767,"percentile":0.51852,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/Cinnamon/kotaemon/security/advisories/GHSA-jw4w-xcvf-jq5x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Cinnamon/kotaemon/pull/755","tags":["x_refsource_MISC"]},{"url":"https://github.com/Cinnamon/kotaemon/commit/37cdc28ceb46e505d25221584daf1fe61e26b2cc","tags":["x_refsource_MISC"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":10.37},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"cinnamon","affectedVersions":[{"vendor":"Cinnamon","product":"kotaemon","versions":["<= 0.10.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-07-02T16:00:17.510190Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-19740","exploited":false,"provenance":"source"}}