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.

Severity (CVSS 3.0)7.5High
Exploit odds (30 days)0.6%top 49.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
PyPIllama-index0.12.28PYSEC-2025-248
PyPIllama-index-readers-obsidian0.5.1GHSA-fmrf-6jv9-qjc7
PyPIllama-index-readers-obsidian0.5.1PYSEC-2026-1568

Affected products (as reported)

VendorProductVersions
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

References