High

LlamaIndex is vulnerable to Path Traversal attack through its ObsidianReader class

  • Disclosed: 07.07.2025
  • Updated: 11.10.2026 13:19

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) llama-index >= 0.12.23, < 0.12.28 0.12.28
Python (PyPI) llama-index-readers-obsidian < 0.5.1 0.5.1

References

CVSS score 7.5/10
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness (CWE)
CWE-22
Platform
Python (PyPI)
Package
llama-index, llama-index-readers-obsidian
Disclosed
07.07.2025
Updated
11.10.2026 13:19

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2025-248 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-fmrf-6jv9-qjc7 - CC BY 4.0

OSV / GitHub Advisory Database - PYSEC-2026-1568 - PyPA Advisory Database; CC BY 4.0

Vulnerability history: llama-index-readers-obsidian

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
2
First → latest
07.2025 07.2025
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 1
  • Medium 1

Disclosures per year

  1. 2025: 2
  2. 2026: 0
  1. LlamaIndex is vulnerable to Path Traversal attack through its ObsidianReader class this entry
    High · 7.5 CVE-2025-3046 < 0.5.1 0.5.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.