{"id":65421,"date":"2025-07-02T20:31:47","date_gmt":"2025-07-02T17:01:47","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-53358-kotaemon-local-file-inclusion-directory-traversal-vulnerability\/"},"modified":"2025-07-02T20:31:47","modified_gmt":"2025-07-02T17:01:47","slug":"cve-2025-53358-kotaemon-local-file-inclusion-directory-traversal-vulnerability","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-53358-kotaemon-local-file-inclusion-directory-traversal-vulnerability\/","title":{"rendered":"CVE-2025-53358 &#8211; Kotaemon Local File Inclusion Directory Traversal Vulnerability"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2025-53358<br \/>\n<br \/>\n<strong>Published : <\/strong> July 2, 2025, 4:15 p.m. | 37\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>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.<br \/>\n<br \/>\n<strong>Severity:<\/strong> 6.5 | MEDIUM<br \/>\n<br \/>\nVisit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-53358 Published : July 2, 2025, 4:15 p.m. | 37\u00a0minutes ago Description : 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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-65421","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/65421","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=65421"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/65421\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=65421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=65421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=65421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}