{"cve":"CVE-2025-6210","nvd":{"published":"2025-07-07T10:15:29.040","modified":"2026-10-18T21:10:00.120","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":6.2},"cwes":["CWE-22"],"references":["https://github.com/run-llama/llama_index/commit/a86c96ae0e662492eeb471b658ae849a93f628ff","https://huntr.com/bounties/a654b322-a509-4448-a1f5-0f22850b4687"],"products":["llamaindex:llamaindex"],"source":"nvd","synced_at":"2026-10-19T22:04:28.436527499+00:00"},"epss":{"cve":"CVE-2025-6210","score":0.00334,"percentile":0.26527,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-3j8r-jf9w-5cmh","url":"https://osv.dev/vulnerability/GHSA-3j8r-jf9w-5cmh","summary":"LlamaIndex vulnerability in its ObsidianReader class can lead to Path Traversal exploit","modified":"2026-07-13T07:26:33.207198286Z","packages":[{"ecosystem":"PyPI","name":"llama-index-readers-obsidian","purl":"pkg:pypi/llama-index-readers-obsidian","ranges":["<0.5.2"],"fixed":["0.5.2"]}]},{"id":"PYSEC-2025-252","url":"https://osv.dev/vulnerability/PYSEC-2025-252","summary":"","modified":"2026-07-13T07:26:33.207198286Z","packages":[{"ecosystem":"PyPI","name":"llama-index","purl":"pkg:pypi/llama-index","ranges":["<0.5.2"],"fixed":["0.5.2"]}]},{"id":"PYSEC-2026-1567","url":"https://osv.dev/vulnerability/PYSEC-2026-1567","summary":"LlamaIndex vulnerability in its ObsidianReader class can lead to Path Traversal exploit","modified":"2026-07-13T07:26:33.207198286Z","packages":[{"ecosystem":"PyPI","name":"llama-index-readers-obsidian","purl":"pkg:pypi/llama-index-readers-obsidian","ranges":["<0.5.2"],"fixed":["0.5.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}