Vulnerability · Published Jul 7, 2025 · Assigned by @huntr_ai
CVE-2025-3046Path Traversal via Symbolic Links in run-llama/llama_index
High 7.5
In plain English
A high-severity path traversal in run-llama/llama_index from run-llama. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | llama-index | 0.12.28 | PYSEC-2025-248 |
| PyPI | llama-index-readers-obsidian | 0.5.1 | GHSA-fmrf-6jv9-qjc7 |
| PyPI | llama-index-readers-obsidian | 0.5.1 | PYSEC-2026-1568 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| run-llama | run-llama/llama_index | unspecified – before 0.12.28 |
Weakness: CWE-22 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N