CVEvulnerability
CVE-2025-3046
7.5 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2025-07-07
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 7.5 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-22
Description
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.
Affected configurations
• llamaindex llamaindex (>= 0.12.23 < 0.12.28)
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/run-llama/llama_index/commit/0008041e8dde8e519621388e5d6f558bde6ef42e Patch
- https://huntr.com/bounties/90a1f1b2-bb82-4d66-9fc1-856ed5f904da Exploit, Third Party Advisory
- https://huntr.com/bounties/90a1f1b2-bb82-4d66-9fc1-856ed5f904da Exploit, Third Party Advisory