An open API service providing security vulnerability metadata for many open source software ecosystems.

GSA_kwCzR0hTQS1mbXJmLTZqdjktcWpjN84ABJxY

High EPSS: 0.00062% (0.19604 Percentile) EPSS:

LlamaIndex is vulnerable to Path Traversal attack through its ObsidianReader class

Affected Packages Affected Versions Fixed Versions
pypi:llama-index-readers-obsidian < 0.5.1 0.5.1
0 Dependent packages
0 Dependent repositories
373 Downloads last month

Affected Version Ranges

All affected versions

0.0.1, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.3.0, 0.4.0, 0.5.0

All unaffected versions

0.5.1, 0.5.2

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.

References: