CVE-2025-3046

A vulnerability in the `ObsidianReader` class of the run-llama/llama_index repository, versions 0.12.23 to 0.12.28, allows for arbitrary file read through symbolic links. The `ObsidianReader` fails to resolve symlinks to their real paths and does not validate whether the resolved paths lie within the intended directory. This flaw enables attackers to place symlinks pointing to files outside the vault directory, which are then processed as valid Markdown files, potentially exposing sensitive information.
Configurations

Configuration 1 (hide)

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

History

30 Jul 2025, 21:25

Type Values Removed Values Added
References () https://github.com/run-llama/llama_index/commit/0008041e8dde8e519621388e5d6f558bde6ef42e - () https://github.com/run-llama/llama_index/commit/0008041e8dde8e519621388e5d6f558bde6ef42e - Patch
References () https://huntr.com/bounties/90a1f1b2-bb82-4d66-9fc1-856ed5f904da - () https://huntr.com/bounties/90a1f1b2-bb82-4d66-9fc1-856ed5f904da - Exploit, Third Party Advisory
CPE cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*
First Time Llamaindex llamaindex
Llamaindex

08 Jul 2025, 16:18

Type Values Removed Values Added
Summary
  • (es) Una vulnerabilidad en la clase `ObsidianReader` del repositorio run-llama/llama_index, versiones 0.12.23 a 0.12.28, permite la lectura arbitraria de archivos mediante enlaces simbólicos. `ObsidianReader` no resuelve los enlaces simbólicos a sus rutas reales ni valida si las rutas resueltas se encuentran dentro del directorio deseado. Esta falla permite a los atacantes colocar enlaces simbólicos que apuntan a archivos fuera del directorio de la bóveda, que se procesan como archivos Markdown válidos, lo que podría exponer información confidencial.

07 Jul 2025, 14:15

Type Values Removed Values Added
References () https://huntr.com/bounties/90a1f1b2-bb82-4d66-9fc1-856ed5f904da - () https://huntr.com/bounties/90a1f1b2-bb82-4d66-9fc1-856ed5f904da -

07 Jul 2025, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-07-07 10:15

Updated : 2025-07-30 21:25


NVD link : CVE-2025-3046

Mitre link : CVE-2025-3046

CVE.ORG link : CVE-2025-3046


JSON object : View

Products Affected

llamaindex

  • llamaindex
CWE
CWE-22

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