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.
- Affected products
- Kotaemon
- Fix
- Available
- CVSS 3.1
- 6.5 MEDIUM
- EPSS
- 0.4% (32th percentile)
- Weakness
- CWE-22
- NVD status
- Deferred
- Published
- 2025-07-02
CVE-2025-53358 at NVD
No indexed exploits for CVE-2025-53358 yet
Our index is partial: it proves presence, never absence
No exploit for CVE-2025-53358 has been indexed yet. Our index is built from live traffic and upstream syncs, so this page can only say what it knows — not that no exploit exists.