CVE-2024-23751
Dashboard / Vulnerabilities / CVE-2024-23751
CVE-2024-23751
Published: 22 Jan 2024Last Modified: 12 Aug 2026
Aliases:
Summary:
Details: 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: https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23751.json, https://nvd.nist.gov/vuln/detail/CVE-2024-23751, https://github.com/run-llama/llama_index/issues/9957
Affected packages
Package
Name:
Purl:
Affected ranges
Affected versions
v0.9.31
v0.9.29
v0.9.28.post2
v0.9.28.post1
v0.9.28
v0.9.26
v0.9.25
v0.9.22
v0.9.17.dev1
v0.9.16.post1
v0.9.15.post2
v0.9.15.post1
v0.9.15
v0.9.14.post3
v0.9.12
v0.9.11.post1
v0.9.10
v0.9.9
v0.9.8.post1
v0.9.8
v0.9.7
v0.9.6.post2
v0.9.6.post1
v0.9.6
v0.9.5
v0.9.3.post1
v0.9.3
v0.9.1
v0.9.0
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
