Advisory

PYSEC-2026-1568

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

Summary

LlamaIndex is vulnerable to Path Traversal attack through its ObsidianReader class

Details

A vulnerability in the ObsidianReader class in LlamaIndex Readers Integration: Obsidian before version 0.5.1 from 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
2026-07-07 16:02 UTC
Modified
2026-07-13 07:26 UTC

Affected packages and fixes

llama-index-readers-obsidian

PyPI · All systems

Affected

  • introduced 0, fixed 0.5.1 (ecosystem)

Fixed versions

0.5.1

Fix

  • Fixed version 0.5.1
    pip install --upgrade llama-index-readers-obsidian==0.5.1

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