← Back to CVEs
CVE-2024-23751
CRITICAL9.8
Description
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.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published1/22/2024
Last Modified6/20/2025
Sourcenvd
Honeypot Sightings0
Affected Products
llamaindex:llamaindex
Weaknesses (CWE)
CWE-89CWE-89
References
https://github.com/run-llama/llama_index/issues/9957(cve@mitre.org)
https://github.com/run-llama/llama_index/issues/9957(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.