CVE-2025-3046 Path Traversal via Symbolic Links in run-llama/llama_index
HighCVSS 7.5
EPSS 0.90%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
4 packages: 4 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| llamaindex | >= 0.12.23, < 0.12.28 | 0.12.28 | Fixed |
| pypi llama-index(PyPI) | = 0.12.23; = 0.12.24; = 0.12.25; = 0.12.26 +2 more | 0.12.28 | Fixed |
| pypi llama-index-readers-obsidian(PyPI) | < 0.5.1; = 0.0.1; = 0.1.0; = 0.1.1 +6 more | 0.5.1 | Fixed |
| run-llama/llama_index | < 0.12.28 | 0.12.28 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi llama-index-readers-obsidian(PyPI) | < 0.5.1 | 0.5.1 |
| pypi llama-index-readers-obsidian(PyPI) | = 0.0.1 | No fix listed |
| pypi llama-index-readers-obsidian(PyPI) | = 0.1.0 | No fix listed |
| pypi llama-index-readers-obsidian(PyPI) | = 0.1.1 | No fix listed |
| pypi llama-index-readers-obsidian(PyPI) | = 0.1.2 | No fix listed |
| pypi llama-index-readers-obsidian(PyPI) | = 0.1.3 | No fix listed |
| pypi llama-index-readers-obsidian(PyPI) | = 0.2.0 | No fix listed |
| pypi llama-index-readers-obsidian(PyPI) | = 0.3.0 | No fix listed |
| pypi llama-index-readers-obsidian(PyPI) | = 0.4.0 | No fix listed |
| pypi llama-index-readers-obsidian(PyPI) | = 0.5.0 | No fix listed |
| pypi llama-index(PyPI) | >= 0.12.23, < 0.12.28 | 0.12.28 |
| pypi llama-index(PyPI) | = 0.12.23 | No fix listed |
| pypi llama-index(PyPI) | = 0.12.24 | No fix listed |
| pypi llama-index(PyPI) | = 0.12.25 | No fix listed |
| pypi llama-index(PyPI) | = 0.12.26 | No fix listed |
| pypi llama-index(PyPI) | = 0.12.27 | No fix listed |
| run-llama/llama_index | < 0.12.28 | 0.12.28 |
| llamaindex | >= 0.12.23, < 0.12.28 | 0.12.28 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- github.com product
- huntr.com exploit third-party-advisory
- pypi.org product
- github.com vendor-advisory