CVE-2025-6210
MEDIUM 6.2CVSS 3.0LlamaIndex vulnerability in its ObsidianReader class can lead to Path Traversal exploit
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.
- Published
- 7 Jul 2025
- Last modified
- 18 Oct 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-3j8r-jf9w-5cmhPYSEC-2025-252PYSEC-2026-1567
- Sources
- NVDJSONOSV GHSA-3j8r-jf9w-5cmhJSONOSV PYSEC-2025-252JSONOSV PYSEC-2026-1567JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | MEDIUM 6.2 | CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.2 | CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.0 | MEDIUM 6.2 | CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | llamaindex | llamaindexcpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:* |
< 0.5.2 | 0.5.2 |
| OSV | PyPI | llama-index-readers-obsidian | < 0.5.2 | 0.5.2 |
| OSV | PyPI | llama-index | < 0.5.2 | 0.5.2 |
References
- https://github.com/run-llama/llama_index/commit/a86c96ae0e662492eeb471b658ae849a93f628ff · Patch, WEB, FIX
- https://huntr.com/bounties/a654b322-a509-4448-a1f5-0f22850b4687 · Exploit, Third Party Advisory, WEB, EVIDENCE
- https://nvd.nist.gov/vuln/detail/CVE-2025-6210 · ADVISORY
- https://github.com/run-llama/llama_index · PACKAGE
- https://pypi.org/project/llama-index-readers-obsidian · PACKAGE
- https://github.com/advisories/GHSA-3j8r-jf9w-5cmh · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 7 Jul 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 Jul 2025)