Skip to main content
← All vulnerabilities
CVE-2025-3046PYSEC-2025-248GHSA-FMRF-6JV9-QJC7PYSEC-2026-1568

Path Traversal via Symbolic Links in run-llama/llama_index

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.12.28, 0.5.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • run-llama run-llama/llama_index

    fixed in 0.12.28

  • llama-indexPyPI

    From 0.12.23 · fixed in 0.12.28

  • llama-index-readers-obsidianPyPI

    fixed in 0.5.1

References 2

huntr.com

GitHub · run-llama/llama_index