CVE-2025-3046 json
Path Traversal via Symbolic Links in run-llama/llama_index
published 2025-07-07 16 mo ago modified 2026-07-13 3 mo ago also GHSA-fmrf-6jv9-qjc7 , PYSEC-2025-248 , PYSEC-2026-1568 , EUVD-2025-20216
- cvss
- 7.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi llama-index-readers-obsidian 0.5.1
- pypi llama-index 0.12.28
- run-llama run-llama/llama_index 0.12.28
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-3046 updated cvss 5.3
llama-index: Path Traversal llama_index
-
Red Hat Ansible Automation Platform 2 ansible-automation-platform-24/de-minimal-rhel8, ansible-automation-platform-24/de-minimal-rhel9, ansible-automation-platform-25/de-minimal-rhel8, ansible-automation-platform-25/de-minimal-rhel9affected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 16 mo ago
Exploit prediction
0.64% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.com https://huntr.com/bounties/90a1f1b2-bb82-4d66-9fc1-856ed5f904da referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | llama-index-readers-obsidian | <0.5.1 |
0.5.1 |
| pypi | llama-index | >=0.12.23, <0.12.28 |
0.12.28 |
Affected products
- run-llama run-llama/llama_index
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/run-llama/llama_index/commit/0008041e8dde8e519621388e5d6f558bde6ef42e
web, patch
-
github.com
/run-llama/llama_index/pull/18320
web
-
github.com
/run-llama/llama_index/commit/266eb3b3a61f158112726d75a5f5f0b90e34ded0
web
-
huntr.com
/bounties/90a1f1b2-bb82-4d66-9fc1-856ed5f904da
exploit, web, third-party-advisory, evidence
-
nvd.nist.gov
/vuln/detail/CVE-2025-3046
advisory
-
github.com
/run-llama/llama_index
package
-
pypi.org
/project/llama-index-readers-obsidian
package
-
github.com
/advisories/GHSA-fmrf-6jv9-qjc7
advisory
Sources
- CVE List CVE-2025-3046
- GitHub Advisory GHSA-fmrf-6jv9-qjc7
- NVD CVE-2025-3046
- OSV PYSEC-2026-1568
- OSV PYSEC-2025-248
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.