CVE-2024-23751: SQL injection vulnerability in LlamaIndex
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
LlamaIndex up to version 0.9.35 contained an SQL injection vulnerability via its Text-to-SQL query engines. The vulnerability allows malicious English language inputs to manipulate backend queries.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
Details
- type
- Attack on AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Infrastructure vulnerabilityCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Infrastructure vulnerability
- owasp llm top 10
- mitre atlas
- no technique for these categoriesBoth rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 2 · Disclosed vulnerabilityCVE or vendor advisory, patched or patchable, no confirmed exploitation.
- targets
- Framework / tooling
- products
- llama-index
- incident date
- 22 Jan 2024
- first reported
- 22 Jan 2024
- origin
- GitHub Advisory DatabaseVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- classifier confidence
- 0.95 · published at or above 0.80; see the methodology
- tags
- CVE-2024-23751 · sql-injection
- record
- created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z · json
Sources · 2
- 2024-01-22CVE-2024-23751: SQL injection in llama-indexGitHub Advisory Database · github.com/advisories/GHSA-2jxw-4hm4-6w87
- 2024-01-22CVE-2024-23751: LlamaIndex (aka llama_index) through 0.9.34 allows SQL injection via the Text-to-SQL feature in NLSQLTableQueryEngine,…NVD · nvd.nist.gov/vuln/detail/CVE-2024-23751
Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2023-08-15CVE-2023-39662: llama-index vulnerable to arbitrary code execution2 Disclosedon AIInfra vuln1 src
- 2025-10-13CVE-2025-7707: llama-index Insecure Temporary File Vulnerability2 Disclosedon AIInfra vuln1 src
- 2024-02-05CVE-2024-0964: Gradio Path Traversal Vulnerability2 Disclosedon AIInfra vuln2 src
- 2024-01-31CVE-2024-24566: Lobe Chat Vulnerable to Unauthorized Access to Plugins2 Disclosedon AIInfra vuln1 src
- 2024-01-19CVE-2024-22422: AnythingLLM unauthenticated API route denial of service2 Disclosedon AIInfra vuln1 src
- 2024-07-20CVE-2024-6281: LoLLMS path traversal vulnerability in settings2 Disclosedon AIInfra vuln1 src