CVE-2024-23751

LlamaIndex (aka llama_index) through 0.9.34 allows SQL injection via the Text-to-SQL feature in NLSQLTableQueryEngine, SQLTableRetrieverQueryEngine, NLSQLRetriever, RetrieverQueryEngine, and PGVectorSQLQueryEngine. For example, an attacker might be able to delete this year's student records via "Drop the Students table" within English language input.

Score
CVSS 3.1 9.8 Critical
Status
Modified - cve@mitre.org
Published
2024-01-22
Last modified
2025-06-20
Weaknesses
CWE-89

Affected products

References