Skip to main content
← All vulnerabilities
CVE-2025-6210GHSA-3J8R-JF9W-5CMHPYSEC-2025-252PYSEC-2026-1567

Hardlink-Based Path Traversal in run-llama/llama_index

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

Summary

A vulnerability in the ObsidianReader class of the run-llama/llama_index repository, specifically in version 0.12.27, allows for hardlink-based path traversal. This flaw permits attackers to bypass path restrictions and access sensitive system files, such as /etc/passwd, by exploiting hardlinks. The vulnerability arises from inadequate handling of hardlinks in the load_data() method, where the security checks fail to differentiate between real files and hardlinks. This issue is resolved in version 0.5.2.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • run-llama run-llama/llama_index

    fixed in 0.5.2

  • llama-index-readers-obsidianPyPI

    fixed in 0.5.2

  • llama-indexPyPI

    fixed in 0.5.2

References 2

huntr.com

GitHub · run-llama/llama_index