CVE-2025-6210

Hardlink-Based Path Traversal in run-llama/llama_index

Published Jul 7, 2025 CVSS 3.0 · 6.2 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-20210 LlamaIndex vulnerability in its ObsidianReader class can lead to Path Traversal exploit
Github GHSA Github GHSA GHSA-3j8r-jf9w-5cmh LlamaIndex vulnerability in its ObsidianReader class can lead to Path Traversal exploit
History
Type Values Removed Values Added
First Time appeared Llamaindex
Llamaindex llamaindex
CPEs cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*
Vendors & Products Llamaindex
Llamaindex llamaindex
Type Values Removed Values Added
Metrics epss

{'score': 0.00015}

epss

{'score': 0.00019}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Hardlink-Based Path Traversal in run-llama/llama_index
Weaknesses CWE-22
References
Metrics cvssV3_0

{'score': 6.2, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Jul 7, 2025, 12:17 PM
Reserved
Jun 17, 2025, 5:35 PM
Status
Analyzed
Published
Jul 7, 2025, 10:15 AM
Modified
Oct 18, 2026, 9:10 PM
Severity
Moderate
Public date
Jul 7, 2025, 9:55 AM