CVE-2025-3046: run-llama/llama_index · Path Traversal
Affects run-llama/llama_indexSource CVE Database V5
Not known to be exploited · CVSS 7.5 High.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 50% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 7 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| run-llama run-llama/llama_index | Affected
| Fixed in– |
AI-suggested
- Immediate mitigation involves upgrading to a fixed version of run-llama/llama_index once available. Until then, organizations should audit and restrict write permissions to the vault directory to trusted users only, preventing unauthorized creation of symbolic links.
- Implement filesystem monitoring to detect creation of unexpected symlinks within the vault directory.
- Employ application-level input validation to ensure that any file paths resolved by ObsidianReader are canonicalized and strictly confined within the vault directory boundaries before processing.
- Use container or OS-level sandboxing to limit the file system scope accessible to the application, reducing the impact of potential exploitation.
- Conduct regular security reviews and penetration testing focused on path traversal and symlink attacks in environments using this library.
- If possible, configure the application to run with least privilege, restricting its access to only necessary directories and files.
- Monitor security advisories from run-llama and related repositories for patches or updates addressing this vulnerability.
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.