{"data":{"id":"b0989752-7570-4997-bd0b-f375da7c7b75","title":"CVE-2024-23751: LlamaIndex (aka llama_index) through 0.9.34 allows SQL injection via the Text-to-SQL feature in NLSQLTableQueryEngine…","summary":"CVE-2024-23751 affects LlamaIndex (aka llama_index) through 0.9.34. The Text-to-SQL feature in NLSQLTableQueryEngine, SQLTableRetrieverQueryEngine, NLSQLRetriever, RetrieverQueryEngine and PGVectorSQLQueryEngine allows SQL injection. The source gives an example in which English-language input such as \"Drop the Students table\" could let an attacker delete student records.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-23751","publishedAt":"2024-01-22T06:15:08.557Z","cveId":"CVE-2024-23751","cweIds":["CWE-89","CWE-89"],"cvssScore":"9.8","cvssSeverity":"critical","severity":"critical","attackType":["other"],"issueType":"vulnerability","affectedPackages":["llama-index@<= 0.9.35"],"affectedPackageNames":["llama-index"],"affectedPackageRefs":["pypi:llama-index"],"affectedVendors":[],"affectedVendorsRaw":["LlamaIndex","NLSQLTableQueryEngine","SQLTableRetrieverQueryEngine","NLSQLRetriever","RetrieverQueryEngine","PGVectorSQLQueryEngine"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"LlamaIndex SQL injection through Text-to-SQL query engines","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.0066,"epssCheckedAt":"2026-11-04T12:08:35.257Z","kevDateAdded":null,"advisoryAliases":["GHSA-2jxw-4hm4-6w87"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T03:56:31.286Z","patchAvailable":null,"disclosureDate":null,"fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":["CAPEC-66"],"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality","integrity"],"aiComponentTargeted":"framework","llmSpecific":true,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"fixes":[]}}