Path Traversal in Cinnamon Kotaemon
CVE-2025-53358
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.005 (40.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 40th percentile — 40.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Cinnamon Kotaemon — versions <= 0.10.6
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2025-53358?
- CVE-2025-53358 is a medium-severity vulnerability in Cinnamon Kotaemon, classified under Path Traversal. CVSS score: 6.5/10. Published 2025-07-02.
- How severe is CVE-2025-53358?
- Medium severity. CVSS v3 base score is 6.5 out of 10.