CVE-2024-23751
CRITICALLlamaIndex < 0.9.34 - SQL Injection via Text-to-SQL Feature
Title source: llmDescription
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.
References (1)
Core 1
Core References
Exploit, Issue Tracking, Vendor Advisory
https://github.com/run-llama/llama_index/issues/9957
Scores
CVSS v3
9.8
EPSS
0.0021
EPSS Percentile
43.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-89
Status
published
Products (2)
llamaindex/llamaindex
< 0.9.34
pypi/llama-index
0PyPI
Published
Jan 22, 2024
Tracked Since
Feb 18, 2026