{"id":"CVE-2025-3046","published":"2025-07-07T09:54:50Z","modified":"2025-07-07T14:00:59Z","title":"Path Traversal via Symbolic Links in run-llama/llama_index","vendor":"run-llama","product":"run-llama/llama_index","tier":"tail","description":{"text":"A vulnerability in the `ObsidianReader` class of the run-llama/llama_index repository, versions 0.12.23 to 0.12.28, allows for arbitrary file read through symbolic links. The `ObsidianReader` fails to resolve symlinks to their real paths and does not validate whether the resolved paths lie within the intended directory. This flaw enables attackers to place symlinks pointing to files outside the vault directory, which are then processed as valid Markdown files, potentially exposing sensitive information.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00637,"percentile":0.51502,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://huntr.com/bounties/90a1f1b2-bb82-4d66-9fc1-856ed5f904da","tags":[]},{"url":"https://github.com/run-llama/llama_index/commit/0008041e8dde8e519621388e5d6f558bde6ef42e","tags":[]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":10.3},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"run-llama","affectedVersions":[{"vendor":"run-llama","product":"run-llama/llama_index","versions":[">= unspecified, < 0.12.28"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-07-07T14:00:57.168137Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"llama-index-readers-obsidian","vulnerableRanges":["<0.5.1"],"patched":["0.5.1"],"from":["GHSA-fmrf-6jv9-qjc7","PYSEC-2026-1568"],"provenance":"source"},{"ecosystem":"PyPI","package":"llama-index","vulnerableRanges":[">=0.12.23, <0.12.28"],"patched":["0.12.28"],"from":["PYSEC-2025-248"],"provenance":"source"}],"summary":{"text":"The ObsidianReader class in the run-llama/llama_index repository, in versions 0.12.23 through 0.12.28, fails to resolve symbolic links to their real paths or check that the resolved target stays inside the intended vault directory. An attacker who can place a symlink in the vault that points to a file outside it can get that file read and processed as a Markdown file, exposing its contents over the network without authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:07Z"},"euvd":{"id":"EUVD-2025-20216","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-run-llama-llama-index-cve-2025-3046","children":[{"from":"CVE-2025-3046","to":"CVE-2025-6210","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:llama-index-readers-obsidian","fromFixed":"0.5.1","toFixed":"0.5.2","daysApart":0},{"kind":"same-code","provenance":"machine","files":["llama-index-integrations/readers/llama-index-readers-obsidian/llama_index/readers/obsidian/base.py"],"commits":["https://github.com/run-llama/llama_index/commit/0008041e8dde8e519621388e5d6f558bde6ef42e","https://github.com/run-llama/llama_index/commit/266eb3b3a61f158112726d75a5f5f0b90e34ded0","https://github.com/run-llama/llama_index/commit/a86c96ae0e662492eeb471b658ae849a93f628ff"],"basis":"shared function","functions":["load_data"]},{"kind":"similar","provenance":"machine","score":0.25,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2025-1752","published":"2025-05-10","fixed":"0.12.21","kev":false},{"cve":"CVE-2025-1793","published":"2025-06-05","fixed":"0.12.28","kev":false},{"cve":"CVE-2025-3044","published":"2025-07-07","fixed":"0.12.28","kev":false},{"cve":"CVE-2025-3046","published":"2025-07-07","fixed":"0.12.28","kev":false},{"cve":"CVE-2025-3225","published":"2025-07-07","fixed":"0.12.29","kev":false,"link":{"from":"CVE-2025-3046","to":"CVE-2025-3225","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:llama-index","fromFixed":"0.12.28","toFixed":"0.12.29","daysApart":0}]}},{"cve":"CVE-2025-5472","published":"2025-07-07","fixed":"0.12.38","kev":false},{"cve":"CVE-2025-3108","published":"2025-07-06","fixed":"0.12.41","kev":false}],"package":"PyPI:llama-index"}}