Security mailing lists by PureSourceCode

CVE-2025-6210

MEDIUM 6.2CVSS 3.0

LlamaIndex vulnerability in its ObsidianReader class can lead to Path Traversal exploit

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.

Published
7 Jul 2025
Last modified
18 Oct 2026
Assigned by
security@huntr.dev
NVD status
Analyzed
Weakness
CWE-22
Also known as
GHSA-3j8r-jf9w-5cmhPYSEC-2025-252PYSEC-2026-1567
Sources
NVDJSONOSV GHSA-3j8r-jf9w-5cmhJSONOSV PYSEC-2025-252JSONOSV PYSEC-2026-1567JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@huntr.dev (Secondary) CVSS 3.0 MEDIUM 6.2 CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.0 MEDIUM 6.2 CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV PyPA CVSS 3.0 MEDIUM 6.2 CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD llamaindex llamaindex
cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*
< 0.5.2 0.5.2
OSV PyPI llama-index-readers-obsidian < 0.5.2 0.5.2
OSV PyPI llama-index < 0.5.2 0.5.2

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 7 Jul 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2025)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 Jul 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.