kotaemon Vulnerable to Path Traversal via Link Upload
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2025-53358
References
More Cinnamon vulnerabilities
- TI-2026-48505 kotaemon 0.12.0 Unauthenticated Remote Code Execution via Insecure Deserialization CVSS 4.0CRITICAL 9.3
- TI-2026-56746 Kotaemon Missing Ownership Check in Conversation Functions CVSS 4.0CRITICAL 9.1
- TI-2025-35363 Plaintext password storage in Kotaemon 0.11.0 in the client's localStorage. CVSS 3.1HIGH 7.5
- TI-2025-39488 An issue was discovered in Cinnamon kotaemon 0.11.0. CVSS 3.1MEDIUM 6.5
- TI-2025-35362 Cross site scripting (XSS) vulnerability in Kotaemon 0.11.0 allowing attackers to execute… CVSS 3.1MEDIUM 6.1
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences