{"cve":"CVE-2024-23751","nvd":{"published":"2024-01-22T01:15:08.557","modified":"2026-06-17T07:13:31.617","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-89"],"references":["https://github.com/run-llama/llama_index/issues/9957","https://github.com/run-llama/llama_index/issues/9957"],"products":["llamaindex:llamaindex"],"source":"nvd","synced_at":"2026-10-19T21:44:57.175229480+00:00"},"epss":{"cve":"CVE-2024-23751","score":0.0066,"percentile":0.51561,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-2jxw-4hm4-6w87","url":"https://osv.dev/vulnerability/GHSA-2jxw-4hm4-6w87","summary":"SQL injection in llama-index","modified":"2024-02-16T08:23:56.726836Z","packages":[{"ecosystem":"PyPI","name":"llama-index","purl":"pkg:pypi/llama-index","ranges":["<=0.9.35"],"fixed":[]}]},{"id":"PYSEC-2024-12","url":"https://osv.dev/vulnerability/PYSEC-2024-12","summary":"","modified":"2026-06-10T17:02:02.879353549Z","packages":[{"ecosystem":"PyPI","name":"llama-index","purl":"pkg:pypi/llama-index","ranges":["<0.9.35"],"fixed":["0.9.35"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}