What’s Vulnerable › Vulnerabilities
CVE-2025-3046: Path Traversal via Symbolic Links in run-llama/llama_index
- Severity: high (CVSS 7.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-07-07 · updated 2026-06-17
- Weakness: CWE-22
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.
Affected products
- run-llama/llama_index: from 0.12.23 before 0.12.28 — fixed in 0.12.28
How to fix
Upgrade to a fixed version: run-llama/llama_index 0.12.28. Check the vendor advisory for mitigations.
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
Get alerted when CVE-2025-3046 or the next vulnerability affects your stack