CVE-2025-1750
Published: 02 June 2025
Summary
CVE-2025-1750 is a critical-severity SQL Injection (CWE-89) vulnerability in Llamaindex Llamaindex. Its CVSS base score is 9.8 (Critical).
Operationally, exploitation aligns with the MITRE ATT&CK technique Data from Local System (T1005); ranked in the top 17.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
An SQL injection vulnerability exists in the delete function of DuckDBVectorStore in run-llama/llama_index version v0.12.19. The flaw, tracked as CWE-89, permits manipulation of the ref_doc_id parameter and carries a CVSS 3.0 score of 9.8 reflecting network-exploitable conditions with no required authentication or user interaction.
An attacker able to supply a crafted ref_doc_id value can leverage the injection to read or write arbitrary files on the underlying server, an outcome that may be escalated to remote code execution.
The referenced commit 369a2942df2efcf6b74461c45d20a0af1fbe4ae2 in the llama_index repository addresses the issue, and details are also published via the associated huntr.com bounty entry.
The affected component is part of a widely used AI/ML framework for vector storage in LLM applications; the EPSS score has remained flat at 0.0168 with no material rise observed.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-16628
Vulnerability details
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…
more
code execution (RCE).
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
SQL injection vulnerability enables exploitation of a public-facing application (T1190) via parameter manipulation and facilitates arbitrary file reads from the local system (T1005), with potential for RCE through file writes.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.