CVE-2025-3046CWE-22

Path Traversal via Symbolic Links in run-llama/llama_index

High · published July 7, 2025

CVSS v3.0
7.5
EPSS
1%
Percentile
49.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
7.5 · HIGH
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00637 · 49.9th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-07-07T09:54Z
EPSS history
Timeline
  • 07 JUL 09:54Z
    Path Traversal via Symbolic Links in run-llama/llama_index
    cvelistv5