{"cve":"CVE-2025-3046","nvd":{"published":"2025-07-07T10:15:26.900","modified":"2026-06-17T09:19:05.467","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-22"],"references":["https://github.com/run-llama/llama_index/commit/0008041e8dde8e519621388e5d6f558bde6ef42e","https://huntr.com/bounties/90a1f1b2-bb82-4d66-9fc1-856ed5f904da","https://huntr.com/bounties/90a1f1b2-bb82-4d66-9fc1-856ed5f904da"],"products":["llamaindex:llamaindex"],"source":"nvd","synced_at":"2026-10-19T22:04:28.436527499+00:00"},"epss":{"cve":"CVE-2025-3046","score":0.00637,"percentile":0.50567,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-fmrf-6jv9-qjc7","url":"https://osv.dev/vulnerability/GHSA-fmrf-6jv9-qjc7","summary":"LlamaIndex is vulnerable to Path Traversal attack through its ObsidianReader class","modified":"2026-07-13T07:26:23.351624589Z","packages":[{"ecosystem":"PyPI","name":"llama-index-readers-obsidian","purl":"pkg:pypi/llama-index-readers-obsidian","ranges":["<0.5.1"],"fixed":["0.5.1"]}]},{"id":"PYSEC-2025-248","url":"https://osv.dev/vulnerability/PYSEC-2025-248","summary":"","modified":"2026-07-13T07:26:23.351624589Z","packages":[{"ecosystem":"PyPI","name":"llama-index","purl":"pkg:pypi/llama-index","ranges":[">=0.12.23 <0.12.28"],"fixed":["0.12.28"]}]},{"id":"PYSEC-2026-1568","url":"https://osv.dev/vulnerability/PYSEC-2026-1568","summary":"LlamaIndex is vulnerable to Path Traversal attack through its ObsidianReader class","modified":"2026-07-13T07:26:23.351624589Z","packages":[{"ecosystem":"PyPI","name":"llama-index-readers-obsidian","purl":"pkg:pypi/llama-index-readers-obsidian","ranges":["<0.5.1"],"fixed":["0.5.1"]}]}],"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."]}