Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Llamaindex | Llamaindex | < 0.5.2 |
Related Weaknesses (CWE)
References
- https://github.com/run-llama/llama_index/commit/a86c96ae0e662492eeb471b658ae849aPatch
- https://huntr.com/bounties/a654b322-a509-4448-a1f5-0f22850b4687ExploitThird Party Advisory
FAQ
What is CVE-2025-6210?
CVE-2025-6210 is a vulnerability with a CVSS score of 6.2 (MEDIUM). 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 pa...
How severe is CVE-2025-6210?
CVE-2025-6210 has been rated MEDIUM with a CVSS base score of 6.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-6210?
Check the references section above for vendor advisories and patch information. Affected products include: Llamaindex Llamaindex.