GHSA-fmrf-6jv9-qjc7

Suggest an improvement
Source
https://github.com/advisories/GHSA-fmrf-6jv9-qjc7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-fmrf-6jv9-qjc7/GHSA-fmrf-6jv9-qjc7.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-fmrf-6jv9-qjc7
Aliases
Published
2025-07-07T12:30:22Z
Modified
2025-07-08T00:27:15.042933Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
LlamaIndex is vulnerable to Path Traversal attack through its ObsidianReader class
Details

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.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2025-07-07T23:35:32Z",
    "cwe_ids": [
        "CWE-22"
    ],
    "nvd_published_at": "2025-07-07T10:15:26Z",
    "severity": "HIGH"
}
References

Affected packages

PyPI / llama-index-readers-obsidian

Package

Name
llama-index-readers-obsidian
View open source insights on deps.dev
Purl
pkg:pypi/llama-index-readers-obsidian

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.5.1

Affected versions

0.*

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