CVE-2025-6210

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*

History

18 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Una vulnerabilidad en la clase ObsidianReader del repositorio run-llama/llama_index, específicamente en la versión 0.12.27, permite un salto de ruta basado en enlaces duros. Esta falla permite a los atacantes eludir las restricciones de ruta y acceder a archivos sensibles del sistema, como /etc/p4ssd, explotando enlaces duros. La vulnerabilidad surge de un manejo inadecuado de los enlaces duros en el método load_data(), donde las comprobaciones de seguridad no logran diferenciar entre archivos reales y enlaces duros. Este problema se resuelve en la versión 0.5.2.

Information

Published : 2025-07-07 10:15

Updated : 2026-10-18 21:10


NVD link : CVE-2025-6210

Mitre link : CVE-2025-6210

CVE.ORG link : CVE-2025-6210


JSON object : View

Products Affected

llamaindex

  • llamaindex
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')