CVE-2025-3046 Details
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.
A path traversal vulnerability has been identified in the ObsidianReader class of the run-llama/llama_index repository, specifically in versions 0.12.23 prior to 0.12.28. This vulnerability allows for arbitrary file reading through symbolic links. The issue arises because the ObsidianReader does not properly resolve symlinks to their real paths and fails to validate whether the resolved paths are within the intended directory. As a result, attackers can place symlinks pointing to files outside the vault directory, which are then processed as valid Markdown files, potentially exposing sensitive information.
Users can update to ObsidianReader version 0.12.28, which addresses the vulnerability by adding proper symlink resolution and path validation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 7, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://huntr.com/bounties/90a1f1b2-bb82-4d66-9fc1-856ed5f904da | CISA-ADP | ExploitThird Party Advisory |
| https://github.com/run-llama/llama_index/commit/0008041e8dde8e519621388e5d6f558bde6ef42e | [email protected] | Patch |
| https://huntr.com/bounties/90a1f1b2-bb82-4d66-9fc1-856ed5f904da | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| llamaindex llamaindex | >= 0.12.23, < 0.12.28 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2025 | Initial Analysis | [email protected] |
| Jul 7, 2025 | CVE Modified | CISA-ADP |
| Jul 7, 2025 | New CVE Received | [email protected] |