VDB
Sign up
HIGH7.5

PYSEC-2026-1568

LlamaIndex is vulnerable to Path Traversal attack through its ObsidianReader class

Quick fix

PYSEC-2026-1568 — llama-index-readers-obsidian: upgrade to the fixed version with the command below.

pip install --upgrade 'llama-index-readers-obsidian>=0.5.1'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/llama-index-readers-obsidian
Introduced in: 0Fixed in: 0.5.1
Fixpip install --upgrade 'llama-index-readers-obsidian>=0.5.1'

References