{"id":"CVE-2025-6210","aliases":["EUVD-2025-20210","GHSA-3j8r-jf9w-5cmh","PYSEC-2025-252","PYSEC-2026-1567"],"status":"published","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 security checks fail to differentiate between real files and hardlinks. This issue is resolved in version 0.5.2.","severity":{"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00334,"percentile":0.27087,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2025-07-07T09:55:46Z","modified":"2026-11-11T10:30:57Z","fixes":[{"ecosystem":"PyPI","package":"llama-index-readers-obsidian","fixed_in":["0.5.2"],"sources":["ghsa","osv"]},{"ecosystem":"PyPI","package":"llama-index","fixed_in":["0.5.2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"llama-index-readers-obsidian","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.2"}]}]},{"source":"osv","ecosystem":"PyPI","package":"llama-index-readers-obsidian","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.2"}]}],"versions":["0.0.1","0.1.0","0.1.1","0.1.2","0.1.3","0.2.0","0.3.0","0.4.0","0.5.0","0.5.1"]},{"source":"osv","ecosystem":"PyPI","package":"llama-index","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.2"}]}],"versions":["0.4.10","0.4.11","0.4.12","0.4.13","0.4.14","0.4.15","0.4.16","0.4.17","0.4.18","0.4.19","0.4.20","0.4.21","0.4.22","0.4.22.post1","0.4.23","0.4.24","0.4.25","0.4.26","0.4.27","0.4.28","0.4.29","0.4.30","0.4.31","0.4.32","0.4.33","0.4.34","0.4.35","0.4.35.post1","0.4.36","0.4.37","0.4.38","0.4.39","0.4.4","0.4.4.post1","0.4.4.post2","0.4.40","0.4.5","0.4.6","0.4.7","0.4.8","0.4.9","0.5.0","0.5.1"]},{"source":"osv","ecosystem":"PyPI","package":"llama-index-readers-obsidian","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.2"}]}],"versions":["0.0.1","0.1.0","0.1.1","0.1.2","0.1.3","0.2.0","0.3.0","0.4.0","0.5.0","0.5.1"]}],"products":[{"vendor":"llamaindex","product":"llamaindex"},{"vendor":"run-llama","product":"run-llama/llama_index"}],"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://nvd.nist.gov/vuln/detail/CVE-2025-6210","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-3j8r-jf9w-5cmh","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6210.json","tags":["advisory"]},{"url":"https://github.com/run-llama/llama_index","tags":["package"]},{"url":"https://pypi.org/project/llama-index-readers-obsidian","tags":["package"]}],"sources":{"cve":[{"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 security checks fail to differentiate between real files and hardlinks. This issue is resolved in version 0.5.2.","status":"published","published":"2025-07-07T09:55:46.893Z","modified":"2025-07-07T12:17:09.857Z","cvss":[{"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","level":"medium","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:32:40.419293Z"}],"euvd":[{"id":"EUVD-2025-20210","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.","status":"published","published":"2025-07-07T09:55:46Z","modified":"2025-07-07T12:17:09Z","cvss":[{"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","level":"medium"}],"updated_at":"2026-11-02T20:32:13.794899Z"}],"ghsa":[{"id":"GHSA-3j8r-jf9w-5cmh","title":"LlamaIndex vulnerability in its ObsidianReader class can lead to Path Traversal exploit","description":"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.","status":"published","published":"2025-07-07T12:30:23Z","modified":"2025-07-08T18:15:39Z","cvss":[{"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","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:38:49.837727Z"}],"nvd":[{"id":"CVE-2025-6210","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.","status":"published","published":"2025-07-07T10:15:29.04Z","modified":"2026-10-18T21:10:00.12Z","cvss":[{"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","level":"medium","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:11:16.997062Z"}],"osv":[{"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 security checks fail to differentiate between real files and hardlinks. This issue is resolved in version 0.5.2.","status":"published","published":"2025-07-07T09:55:46.893Z","modified":"2026-11-11T10:30:57.516626147Z","cvss":[{"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","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-11T11:06:35.674887Z"},{"id":"GHSA-3j8r-jf9w-5cmh","title":"LlamaIndex vulnerability in its ObsidianReader class can lead to Path Traversal exploit","description":"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.","status":"published","published":"2025-07-07T12:30:23Z","modified":"2026-07-13T07:26:33.207198286Z","cvss":[{"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","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:35.747385Z"},{"id":"PYSEC-2025-252","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.","status":"published","published":"2025-07-07T10:15:29.04Z","modified":"2026-07-13T07:26:33.207198286Z","cvss":[{"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","level":"medium"}],"updated_at":"2026-11-02T15:52:54.242332Z"},{"id":"PYSEC-2026-1567","title":"LlamaIndex vulnerability in its ObsidianReader class can lead to Path Traversal exploit","description":"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.","status":"published","published":"2026-07-07T16:02:56.96409Z","modified":"2026-07-13T07:26:33.207198286Z","cvss":[{"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","level":"medium"}],"updated_at":"2026-11-02T15:52:55.06457Z"}]}}
