CVE-2025-53358: kotaemon Vulnerable to Path Traversal via Link Upload

Published Jul 2, 2025
·
Updated

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 indexfn 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 Software

1 affected component
Kotaemon Kotaemon<0.10.7

Event History

Jul 2, 2025
CVE Published
via MITRE·03:38 PM
Data Sourced
via MITRE·03:38 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2025-53358?

CVE-2025-53358 is considered to be a high-severity vulnerability due to its potential exploitation via unvalidated file paths.

2

How do I fix CVE-2025-53358?

To fix CVE-2025-53358, upgrade kotaemon to version 0.10.7 or later where input validation has been implemented.

3

What types of input does CVE-2025-53358 affect?

CVE-2025-53358 affects the index_fn method in kotaemon, which does not validate both URLs and local file paths before processing.

4

In which version of kotaemon is CVE-2025-53358 present?

CVE-2025-53358 is present in kotaemon versions prior to 0.10.7.

5

How does CVE-2025-53358 impact application security?

CVE-2025-53358 impacts application security by allowing potentially harmful inputs to be processed and stored without adequate validation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203