Live threats

All CVEs / Llamaindex

CVE-2025-6210Llamaindex

Medium 6.2

Priority
37
CVSS 3.0
6.2
EPSS
—
Auth required
Yes
Published
Jul 7, 2025
Updated
Oct 18, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

A vulnerability in the ObsidianReader class of the run-llama/llama_index repository, specifically in version 0.12.27, allows for hardlink-based path traversal. This flaw permits attackers to bypass path restrictions and access sensitive system files, such as /etc/passwd, by exploiting hardlinks. The vulnerability arises from inadequate handling of hardlinks in the load_data() method, where the security checks fail to differentiate between real files and hardlinks. This issue is resolved in version 0.5.2.

Original NVD text.

What to do

  1. Apply the vendor's security update for Llamaindex.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI llama-index < 0.5.2 0.5.2 pip install "llama-index>=0.5.2"
PyPI llama-index-readers-obsidian < 0.5.2 0.5.2 pip install "llama-index-readers-obsidian>=0.5.2"
PyPI llama-index-readers-obsidian < 0.5.2 0.5.2 pip install "llama-index-readers-obsidian>=0.5.2"

Per OSV / GitHub Advisories (PYSEC-2025-252, GHSA-3j8r-jf9w-5cmh, PYSEC-2026-1567). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
llamaindexllamaindex< 0.5.2

Official sources

References

Links published by the sources. Open them with care.