CVE-2025-6210 – llama-index-readers-obsidian
Package
Manager: pip
Name: llama-index-readers-obsidian
Vulnerable Version: >=0 <0.5.2
Severity
Level: Medium
CVSS v3.1: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS: 0.0003 pctl0.06924
Details
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, before version 0.5.2 (specifically in version 0.12.27 of llama-index), 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 llama-index-readers-obsidian version 0.5.2.
Metadata
Created: 2025-07-07T12:30:23Z
Modified: 2025-07-08T18:15:37Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-3j8r-jf9w-5cmh/GHSA-3j8r-jf9w-5cmh.json
CWE IDs: ["CWE-22"]
Alternative ID: GHSA-3j8r-jf9w-5cmh
Finding: F063
Auto approve: 1