ADVISORIES

Vulnerability

CVE-2024-23751

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.

2 advisories report this vulnerability, across 1 ecosystem.

Critical severity PyPI 2

Advisories

  • GHSA-2jxw-4hm4-6w87

    SQL injection in llama-index

    Critical CVE-2024-23751 PyPI Updated 16 February 2024
  • PYSEC-2024-12

    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…

    CVE-2024-23751 PyPI Updated 10 June 2026

References