Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
6.2

CVE-2025-6210: Llama Index Readers may expose system files via hardlinks

CVE-2025-6210 · published 1 year ago
Summary

The ObsidianReader component in the bitsofchris/llama-index-readers-obsidian and llamaindex/llamaindex packages (version 0.12.27) can be tricked into following hard‑linked files, allowing an attacker to read files such as /etc/passwd. This bypasses normal file‑path restrictions and could reveal sensitive information. Update the packages to version 0.5.2 or later to close the gap.

What to do
  • Update bitsofchris llama-index-readers-obsidian to version 0.5.2.
  • Update llamaindex llamaindex to version 0.5.2 or later.
Affected software
Ecosystem VendorProductAffected versions
pip bitsofchris llama-index-readers-obsidian < 0.5.2
Fix: upgrade to 0.5.2
– llamaindex llamaindex < 0.5.2
cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*
Original advisory text
Hardlink-Based Path Traversal in run-llama/llama_index
A vulnerability in the ObsidianReader class of the run-llama/llama_index repository, specifically in version 0.12.27, allows for hardlink-based path traversal. This flaw permits attackers to bypass path restrictions and access sensitive system files, such as /etc/passwd, by exploiting hardlinks. The vulnerability arises from inadequate handling of hardlinks in the load_data() method, where the security checks fail to differentiate between real files and hardlinks. This issue is resolved in version 0.5.2.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
6.2 Medium
Exploitation
<1% chance of attack within 30 days
Type
CWE-22Path Traversal
Timeline
Published7 Jul 2025
Updated4 Nov 2026
First seen6 Mar 2026
Sources
CVE-2025-6210 · NVD
CVE-2025-6210 · OSV
Track software like this
Free during beta