INCIDENT MAP

Browse / RAG and Vector Store Weaknesses / CVE-2025-1793

llama_index vulnerable to SQL Injection

CVE-2025-1793 ยท 2025-06-05 critical

Class
RAG and Vector Store Weaknesses (filed by a model that read the advisory)
Technique
SQL and query injection
Affected
llama-index (PyPI)
CVSS
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.7% chance of exploitation in 30 days

How it works, in short

Several llama_index vector store integrations build SQL queries from unsanitised input, letting attackers read and write other users' data. (Our summary, written by a model. The source text is below.)

Details

Multiple vector store integrations in run-llama/llama_index version v0.12.21 have SQL injection vulnerabilities. These vulnerabilities allow an attacker to read and write data using SQL, potentially leading to unauthorized access to data of other users depending on the usage of the llama-index library in a web application.

References

Source: GitHub Advisory Database, used under CC BY 4.0.