{"id":"CVE-2025-53358","sourceIdentifier":"security-advisories@github.com","published":"2025-07-02T16:15:29.280","lastModified":"2026-06-17T09:38:05.387","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"kotaemon es una herramienta de código abierto basada en RAG para la comprensión de documentos. A partir de la versión 0.10.6 y anteriores, en libs/ktem/ktem/index/file/ui.py, el método index_fn acepta URL y rutas de archivos locales sin validación. La canalización transmite estas rutas directamente y las almacena, lo que permite a los atacantes recorrer directorios (p. ej., ../../../../../..env) y extraer archivos confidenciales. Este problema se ha corregido mediante el commit 37cdc28, en la versión 0.10.7, que aún no se ha publicado."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"Cinnamon","product":"kotaemon","versions":[{"version":"<= 0.10.6","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-07-02T16:00:17.510190Z","id":"CVE-2025-53358","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-22"}]}],"references":[{"url":"https://github.com/Cinnamon/kotaemon/commit/37cdc28ceb46e505d25221584daf1fe61e26b2cc","source":"security-advisories@github.com"},{"url":"https://github.com/Cinnamon/kotaemon/pull/755","source":"security-advisories@github.com"},{"url":"https://github.com/Cinnamon/kotaemon/security/advisories/GHSA-jw4w-xcvf-jq5x","source":"security-advisories@github.com"}]}