Skip to main content
VulnerabilityPublished

CVE-2025-53358: Cinnamon kotaemon · Path Traversal

Affects Cinnamon kotaemonSource CVE Database V5

0

Not known to be exploited · CVSS 6.5 Medium · fixed in 0.10.7 : update Cinnamon kotaemon when convenient.

Data as of 26 Oct 2026, 12:55 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 39% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.10.7
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Jul 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GitHubcinnamon/kotaemonpkg:github/cinnamon/kotaemonOther threatsAffected
  • <=0.10.6
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately assess their use of kotaemon and identify any instances running version 0.10.6 or earlier. The primary mitigation is to upgrade to version 0.10.7 or later once the patch is publicly available. Until then, organizations should implement strict input validation and sanitization controls on any user-supplied paths or URLs processed by kotaemon to prevent directory traversal sequences. Network-level protections such as firewall rules and segmentation should restrict access to the kotaemon service to trusted users and systems only. Monitoring and logging of file access patterns can help detect anomalous attempts to access sensitive files outside expected directories. Additionally, sensitive environment files and configuration data should be protected with appropriate filesystem permissions and, where possible, isolated from the application runtime environment. Organizations should also consider deploying runtime application self-protection (RASP) or web application firewalls (WAFs) with custom rules to detect and block path traversal payloads targeting kotaemon endpoints. Finally, maintaining an inventory of open-source components and timely patch management processes will reduce exposure to similar vulnerabilities.

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.

References

Community reviews

Loading reviews…