CVE-2025-3046
HIGH 7.5CVSS 3.0LlamaIndex is vulnerable to Path Traversal attack through its ObsidianReader class
A vulnerability in the ObsidianReader class of 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.
- Published
- 7 Jul 2025
- Last modified
- 13 Jul 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-fmrf-6jv9-qjc7PYSEC-2025-248PYSEC-2026-1568
- Sources
- NVDJSONOSV GHSA-fmrf-6jv9-qjc7JSONOSV PYSEC-2025-248JSONOSV PYSEC-2026-1568JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | llamaindex | llamaindexcpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:* |
>= 0.12.23, < 0.12.28 | 0.12.28 |
| OSV | PyPI | llama-index-readers-obsidian | < 0.5.1 | 0.5.1 |
| OSV | PyPI | llama-index | >= 0.12.23, < 0.12.28 | 0.12.28 |
References
- https://github.com/run-llama/llama_index/commit/0008041e8dde8e519621388e5d6f558bde6ef42e · Patch, WEB, FIX
- https://huntr.com/bounties/90a1f1b2-bb82-4d66-9fc1-856ed5f904da · Exploit, Third Party Advisory, WEB, EVIDENCE
- https://nvd.nist.gov/vuln/detail/CVE-2025-3046 · ADVISORY
- https://github.com/run-llama/llama_index/pull/18320 · WEB
- https://github.com/run-llama/llama_index/commit/266eb3b3a61f158112726d75a5f5f0b90e34ded0 · WEB
- https://github.com/run-llama/llama_index · PACKAGE
- https://pypi.org/project/llama-index-readers-obsidian · PACKAGE
- https://github.com/advisories/GHSA-fmrf-6jv9-qjc7 · ADVISORY
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)