CVE-2025-6210
Executive Summary
CVE-2025-6210 exposes a hardlink-based path traversal flaw in ObsidianReader of run-llama/llama_index v0.12.27. The load_data() method fails to distinguish hardlinks from real files, letting attackers bypass path restrictions and read arbitrary files such as /etc/passwd. The issue is fixed in v0.5.2. No KEV listing yet.
Authoritative CVE Metadata
- CVSS Base Score: 6.2 (MEDIUM)
- Last Modified: 18-10-26
Original 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.