{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-6210","id":"CVE-2025-6210","title":"Hardlink-Based Path Traversal in run-llama/llama_index","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 sec","descriptionLong":"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":"2025-07-07T09:55:46.893Z","updated":"2026-11-11T10:30:57.516626147Z","reserved":"2025-06-17T17:35:10.416Z","status":"Analyzed","rejected":false,"assigner":"@huntr_ai","metric":{"version":"3.0","score":6.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"@huntr_ai"},"metrics":[{"version":"3.0","score":6.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"@huntr_ai"},{"version":"3.0","score":6.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"huntr.dev"},{"version":"3.0","score":6.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.0","score":6.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["run-llama/llama_index"],"affectedProducts":[{"vendor":"run-llama","product":"run-llama/llama_index","defaultStatus":null,"versions":[{"version":"unspecified","lessThan":"0.5.2","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"llama-index-readers-obsidian","purl":"pkg:pypi/llama-index-readers-obsidian","ranges":["<0.5.2"],"fixed":["0.5.2"],"advisory":"GHSA-3j8r-jf9w-5cmh"},{"ecosystem":"PyPI","name":"llama-index","purl":"pkg:pypi/llama-index","ranges":["<0.5.2"],"fixed":["0.5.2"],"advisory":"PYSEC-2025-252"}],"cwes":["CWE-22"],"aliases":["GHSA-3j8r-jf9w-5cmh","PYSEC-2025-252","PYSEC-2026-1567"],"references":[{"url":"https://huntr.com/bounties/a654b322-a509-4448-a1f5-0f22850b4687","tags":["Exploit","Third Party Advisory","web","evidence"]},{"url":"https://github.com/run-llama/llama_index/commit/a86c96ae0e662492eeb471b658ae849a93f628ff","tags":["Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6210.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6210","tags":["advisory"]},{"url":"https://github.com/run-llama/llama_index","tags":["package"]},{"url":"https://pypi.org/project/llama-index-readers-obsidian","tags":["package"]},{"url":"https://github.com/advisories/GHSA-3j8r-jf9w-5cmh","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00334,"epssPercentile":0.2731,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-6210","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6210","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-6210","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3j8r-jf9w-5cmh","ok":true,"note":"GHSA-3j8r-jf9w-5cmh"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-6210","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}