CVE-2025-3046
CVE-2025-3046 · Path Traversal via Symbolic Links in run-llama/llama_index
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 7.5 · High · EPSS 0.6% · Fix available
- Published
- Updated
Stack: python
Affected products and versions
run-llama/llama_index
- Versions
- ≥ unspecified, < 0.12.28: Affected (custom)
Update to 0.12.28
llama-index-readers-obsidian PyPI
- Versions
- 0.0.1
- 0.1.0
- 0.1.1
- 0.1.2
- 0.1.3
- 0.2.0
- 0.3.0
- 0.4.0
- 0.5.0
- Affected ranges
- ECOSYSTEM: < 0.5.1
Update to 0.5.1
llama-index PyPI
- Versions
- 0.12.23
- 0.12.24
- 0.12.25
- 0.12.26
- 0.12.27
- Affected ranges
- ECOSYSTEM: ≥ 0.12.23, < 0.12.28
Update to 0.12.28