AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

LlamaIndexPYSEC-2025-248

LlamaIndex: arbitrary file read

LlamaIndex

CVE-2025-3046 · Published Jul 7, 2025 · updated Jul 13, 2026

High7.5
Fix: upgrade to 0.12.28 or later
Source advisory

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 versions

PackageAffectedFixed in
llama-index
PyPI
>= 0.12.23, < 0.12.280.12.28
Details and references
CVSS 3.0
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Severity from
the CVSS score
Also known as
CVE-2025-3046, GHSA-fmrf-6jv9-qjc7, PYSEC-2026-1568

More LlamaIndex advisories

All LlamaIndex