# CVE-2025-3046: Path Traversal via Symbolic Links in run-llama/llama_index

- Severity: High 7.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-07-07T09:54:50.409Z
- Modified: 2026-07-13T07:26:23.351Z
- Also known as: GHSA-fmrf-6jv9-qjc7, PYSEC-2025-248, PYSEC-2026-1568
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- run-llama run-llama/llama_index: from unspecified before 0.12.28
- llama-index-readers-obsidian (PyPI): before 0.5.1
- llamaindex llamaindex: from 0.12.23 before 0.12.28
- llama-index (PyPI): from 0.12.23 before 0.12.28

## Every score

- @huntr_ai: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://huntr.com/bounties/90a1f1b2-bb82-4d66-9fc1-856ed5f904da> (exploit, evidence, third-party-advisory, web)
- <https://github.com/run-llama/llama_index/commit/0008041e8dde8e519621388e5d6f558bde6ef42e> (fix, patch, web)
- <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)

## Sources

- CVE List: [CVE-2025-3046](https://www.cve.org/CVERecord?id=CVE-2025-3046), CVE Terms of Use, modified 2025-07-07
- GitHub Advisory Database: [GHSA-fmrf-6jv9-qjc7](https://github.com/advisories/GHSA-fmrf-6jv9-qjc7), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2025-3046](https://nvd.nist.gov/vuln/detail/CVE-2025-3046), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-248](https://osv.dev/vulnerability/PYSEC-2025-248), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-1568](https://osv.dev/vulnerability/PYSEC-2026-1568), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2025-3046 · Whole record: https://cve.day/CVE-2025-3046.json · Rebuilt by cve.day 2026-11-25T22:59:00.714Z
