Path Traversal in Llamaindex
CVE-2025-3046
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.006 (46.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 46th percentile — 46.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: +0.000
Affected products
- Llamaindex
- Run-Llama Run-Llama/llama Index — versions unspecified
Weakness classification (CWE)
References
- huntr.com/bounties/90a1f1b2-bb82-4d66-9fc1-856ed5f904da (Exploit, Third Party Advisory)
- github.com/run-llama/llama_index/commit/0008041e8dde8e519621388e5d6f558bde6ef42e (Patch)
Frequently asked questions
- What is CVE-2025-3046?
- CVE-2025-3046 is a high-severity vulnerability in Llamaindex, classified under Path Traversal. CVSS score: 7.5/10. Published 2025-07-07.
- How severe is CVE-2025-3046?
- High severity. CVSS v3 base score is 7.5 out of 10.