What’s Vulnerable › Vulnerabilities
CVE-2024-23751
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-01-22 · updated 2026-06-17
- Weakness: CWE-89
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.
Affected products
- run-llama/llama_index: through 0.9.34
References
- https://github.com/run-llama/llama_index/issues/9957
- https://github.com/run-llama/llama_index/issues/9957
Get alerted when CVE-2024-23751 or the next vulnerability affects your stack