Vulnerability

CVE-2025-53358

mediumCVSS 3.1 6.5Published 2 Jul 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /Cinnamon/kotaemon/commit/37cdc28ceb46e505d25221584daf1fe61…
  • github.com /Cinnamon/kotaemon/pull/755
  • github.com /Cinnamon/kotaemon/security/advisories/GHSA-jw4w-xcvf-jq5x

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning