Advisory

PYSEC-2025-248

Also known as: CVE-2025-3046, GHSA-fmrf-6jv9-qjc7, PYSEC-2026-1568

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2025-07-07 10:15 UTC
Modified
2026-07-13 07:26 UTC

Affected packages and fixes

llama-index

PyPI · All systems

Affected

  • introduced 0.12.23, fixed 0.12.28 (ecosystem)

Fixed versions

0.12.28

Fix

  • Fixed version 0.12.28
    pip install --upgrade llama-index==0.12.28

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences