Read the docs
TI-2025-05618 Aliases CVE-2025-6210GHSA-3j8r-jf9w-5cmh

Hardlink-Based Path Traversal in run-llama/llama_index

Priority MEDIUM 61CWE-22Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00334 26th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed run-llama/llama_index (run-llama): 0.5.2llama-index-readers-obsidian (PyPI): 0.5.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
run-llamarun-llama/llama_indexbefore 0.5.20.5.2Patch availableCNA
—llama-index-readers-obsidian (PyPI)before 0.5.20.5.2Patch availableGHSA-3j8r-jf9w-5cmh
  • run-llama/llama_index Vendorrun-llama Affected before 0.5.2 Fixed in 0.5.2 Patch available CNA
  • llama-index-readers-obsidian (PyPI) Vendor— Affected before 0.5.2 Fixed in 0.5.2 Patch available GHSA-3j8r-jf9w-5cmh

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*before 0.5.2Vulnerablerun-llama
  • cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:* Versions before 0.5.2 Vulnerable ·run-llama

Remediation

  • Fix · CNA run-llama/llama_index (run-llama) Fixed in 0.5.2
  • Fix · GHSA-3j8r-jf9w-5cmh llama-index-readers-obsidian (PyPI) Fixed in 0.5.2 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

Not affected: 2 products
  • OpenShift Lightspeed
  • Red Hat Ansible Automation Platform 2

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-6210
  2. 2026-10-03 Alias added: GHSA-3j8r-jf9w-5cmh

References

  • TI-2025-01545 SQL Injection in run-llama/llama_index CVSS 3.0CRITICAL 9.8
  • TI-2025-01507 SQL Injection in run-llama/llama_index CVSS 3.0CRITICAL 9.8
  • TI-2024-11960 SQL Injection to RCE in run-llama/llama_index CVSS 3.1CRITICAL 9.8
  • TI-2024-11094 SQL Injection in run-llama/llama_index CVSS 3.0CRITICAL 9.8
  • TI-2024-03068 Command Injection in run-llama/llama_index CVSS 3.0CRITICAL 9.8
  • TI-2024-15754 LlamaIndex (aka llama_index) through 0.9.34 allows SQL injection via the Text-to-SQL… CVSS 3.1CRITICAL 9.8
See all 23 →

Sources