CVE-2025-3046Llamaindex
High 7.5 No auth needed
Follow: this CVE · Llamaindex · Llamaindex We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Jul 7, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Llamaindex.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | llama-index |
≥ 0.12.23 < 0.12.28 |
0.12.28 |
pip install "llama-index>=0.12.28" |
| PyPI | llama-index-readers-obsidian |
< 0.5.1 |
0.5.1 |
pip install "llama-index-readers-obsidian>=0.5.1" |
| PyPI | llama-index-readers-obsidian |
< 0.5.1 |
0.5.1 |
pip install "llama-index-readers-obsidian>=0.5.1" |
Per OSV / GitHub Advisories (PYSEC-2025-248, GHSA-fmrf-6jv9-qjc7, PYSEC-2026-1568). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| llamaindex | llamaindex | ≥ 0.12.23 < 0.12.28 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- huntr.com Exploit Third Party Advisory