6.2
MEDIUM CVSS 3.0
CVE-2025-6210
ObsidianReader Hardlink-Based Path Traversal Vulnerability
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.

INFO

Published Date :

July 7, 2025, 10:15 a.m.

Last Modified :

July 30, 2025, 8:01 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2025-6210 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Llamaindex llamaindex
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.0 MEDIUM [email protected]
Solution
Update llama_index to version 0.5.2 to fix path traversal vulnerability.
  • Update the llama_index library to version 0.5.2.
  • Review and sanitize all file path inputs carefully.
  • Avoid using hardlinks to sensitive system files.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-6210.

URL Resource
https://github.com/run-llama/llama_index/commit/a86c96ae0e662492eeb471b658ae849a93f628ff Patch
https://huntr.com/bounties/a654b322-a509-4448-a1f5-0f22850b4687 Exploit Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-6210 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-6210 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-6210 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jul. 30, 2025

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:* versions up to (excluding) 0.5.2
    Added Reference Type huntr.dev: https://github.com/run-llama/llama_index/commit/a86c96ae0e662492eeb471b658ae849a93f628ff Types: Patch
    Added Reference Type huntr.dev: https://huntr.com/bounties/a654b322-a509-4448-a1f5-0f22850b4687 Types: Exploit, Third Party Advisory
  • New CVE Received by [email protected]

    Jul. 07, 2025

    Action Type Old Value New Value
    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.
    Added CVSS V3 AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    Added CWE CWE-22
    Added Reference https://github.com/run-llama/llama_index/commit/a86c96ae0e662492eeb471b658ae849a93f628ff
    Added Reference https://huntr.com/bounties/a654b322-a509-4448-a1f5-0f22850b4687
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 6.2
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact