Skip to content
CriticalVulnerability

CVE-2025-1750: llama_index SQL injection in DuckDBVectorStore delete function via ref_doc_id

Identifier
CVE-2025-1750
Published
Record updated
View JSON
Affected
  • llama-index-vector-stores-duckdb >= 0.12.19, < 0.12.21
Fixed in
0.12.21
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.9%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

CVE-2025-1750 is an SQL injection flaw in the delete function of DuckDBVectorStore in run-llama/llama_index version v0.12.19. An attacker can manipulate the ref_doc_id parameter to read and write arbitrary files on the server, potentially leading to remote code execution (RCE).

Mitigation

The source does not state a fix yet. Check the original advisory for updates.