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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-0093 | 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. |
Github GHSA |
GHSA-2jxw-4hm4-6w87 | SQL injection in llama-index |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
| Link | Providers |
|---|---|
| https://github.com/run-llama/llama_index/issues/9957 |
|
History
Fri, 20 Jun 2025 19:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2025-06-20T18:42:53.946Z
Reserved: 2024-01-22T00:00:00.000Z
Link: CVE-2024-23751
Updated: 2024-08-01T23:13:07.393Z
Status : Modified
Published: 2024-01-22T01:15:08.557
Modified: 2025-06-20T19:15:35.067
Link: CVE-2024-23751
No data.
OpenCVE Enrichment
No data.
Weaknesses
EUVD
Github GHSA