CVE-2025-6210 MEDIUM

CVE-2025-6210: Hardlink-Based Path Traversal in run-llama/llama_index

Vendor Run-Llama
Product run-llama/llama_index
Weakness CWE-22 · Path traversal
Published July 7, 2025
Last update July 7, 2025

CVSS base score

6.2/10
Attack vector Local
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 7, 2025 CVE published
July 7, 2025 Record updated