CVE-2024-23751

Severity CVSS v4.0:
Pending analysis
Type:
CWE-89 SQL Injection
Publication date:
22/01/2024
Last modified:
20/06/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:* 0.9.34 (including)