{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-53358","published":"2025-07-02T16:15:29.280000Z","last_modified":"2026-06-17T09:38:05.387000Z","status":"Deferred","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-22"],"cpes":[],"cpes_truncated":false,"vendors":["cinnamon"],"products":["cinnamon/kotaemon"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2025-53358/","html_en":"/en/cve/CVE-2025-53358/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-53358","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-53358"},"untrusted":{"vendor_name":"Cinnamon","product_name":"kotaemon","desc_en":"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.","affected":[{"untrusted_vendor":"Cinnamon","untrusted_product":"kotaemon","versions":[]}],"references":[{"url":"https://github.com/Cinnamon/kotaemon/commit/37cdc28ceb46e505d25221584daf1fe61e26b2cc","tags":[]},{"url":"https://github.com/Cinnamon/kotaemon/pull/755","tags":[]},{"url":"https://github.com/Cinnamon/kotaemon/security/advisories/GHSA-jw4w-xcvf-jq5x","tags":[]}]}}