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 | Vendor | Product | Affected 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.
References
- https://github.com/advisories/GHSA-3j8r-jf9w-5cmh
- https://huntr.com/bounties/a654b322-a509-4448-a1f5-0f22850b4687 URL
- https://nvd.nist.gov/vuln/detail/CVE-2025-6210 Vendor Advisory
- https://github.com/run-llama/llama_index/commit/a86c96ae0e662492eeb471b658ae849a... Patch
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6210.j... Vendor Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-22Path Traversal
Timeline
Published7 Jul 2025
Updated4 Nov 2026
First seen6 Mar 2026
Track software like this
Free during beta