{"id":"CVE-2025-6210","aliases":["CVE-2025-6210","GHSA-3j8r-jf9w-5cmh","PYSEC-2025-252","PYSEC-2026-1567"],"related":[],"kind":"vulnerability","state":"published","title":"Hardlink-Based Path Traversal in run-llama/llama_index","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"A vulnerability in the ObsidianReader class of the run-llama/llama_index repository, before version 0.5.2 (specifically in version 0.12.27 of llama-index), 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 llama-index-readers-obsidian version 0.5.2.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una vulnerabilidad en la clase ObsidianReader del repositorio run-llama/llama_index, específicamente en la versión 0.12.27, permite un salto de ruta basado en enlaces duros. Esta falla permite a los atacantes eludir las restricciones de ruta y acceder a archivos sensibles del sistema, como /etc/p4ssd, explotando enlaces duros. La vulnerabilidad surge de un manejo inadecuado de los enlaces duros en el método load_data(), donde las comprobaciones de seguridad no logran diferenciar entre archivos reales y enlaces duros. Este problema se resuelve en la versión 0.5.2.","source":"nvd"}],"published":"2025-07-07T09:55:46.893Z","modified":"2026-10-18T21:10:00.120Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS: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,"rating":"MEDIUM"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS: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,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"0.5.2","status":"affected"}],"vendor":"run-llama","product":"run-llama/llama_index","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.5.2"}],"ecosystem":"PyPI","package":"llama-index-readers-obsidian","purl":"pkg:pypi/llama-index-readers-obsidian","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.5.2"}],"vendor":"llamaindex","product":"llamaindex","cpe":"cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.5.2"}],"ecosystem":"PyPI","package":"llama-index","purl":"pkg:pypi/llama-index","source":"pysec"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.5.2"}],"ecosystem":"PyPI","package":"llama-index-readers-obsidian","purl":"pkg:pypi/llama-index-readers-obsidian","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/a654b322-a509-4448-a1f5-0f22850b4687","tags":["evidence","exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/run-llama/llama_index/commit/a86c96ae0e662492eeb471b658ae849a93f628ff","tags":["fix","patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6210","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/run-llama/llama_index","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/llama-index-readers-obsidian","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-3j8r-jf9w-5cmh","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-07-07T12:15:08.524Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-6210","url":"https://www.cve.org/CVERecord?id=CVE-2025-6210","licence":"CVE Terms of Use","modified":"2025-07-07T12:17:09.857Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3j8r-jf9w-5cmh","url":"https://github.com/advisories/GHSA-3j8r-jf9w-5cmh","licence":"CC-BY-4.0","modified":"2026-07-13T07:26:33.207Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-6210","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6210","licence":"Public domain","modified":"2026-10-18T21:10:00.120Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2025-252","url":"https://osv.dev/vulnerability/PYSEC-2025-252","licence":"CC-BY-4.0","modified":"2026-07-13T07:26:33.207Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1567","url":"https://osv.dev/vulnerability/PYSEC-2026-1567","licence":"CC-BY-4.0","modified":"2026-07-13T07:26:33.207Z"}],"updatedAt":"2026-11-25T22:59:00.719Z","epss":{"score":0.00334,"percentile":0.2868,"date":"2026-12-01T12:00:22.000Z"}}