Skip to main content
← All vulnerabilities
CVE-2025-1750PYSEC-2025-245GHSA-6MCC-Q3MG-3QG6PYSEC-2026-4242

SQL Injection in run-llama/llama_index

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.3.1, 0.12.21
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

An SQL injection vulnerability exists in the delete function of DuckDBVectorStore in run-llama/llama_index version v0.12.19. This vulnerability allows an attacker to manipulate the ref_doc_id parameter, enabling them to read and write arbitrary files on the server, potentially leading to remote code execution (RCE).

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • run-llama run-llama/llama_index

    fixed in 0.3.1

  • llama-indexPyPI

    From 0.12.19 · fixed in 0.12.21

  • llama-index-vector-stores-duckdbPyPI

    From 0.12.19 · fixed in 0.12.21

References 2

huntr.com

GitHub · run-llama/llama_index