Live threats

All CVEs / Llamaindex

CVE-2024-23751Llamaindex

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
0.9%
probability of exploitation in 30 days · percentile 57
Auth required
No
Published
Jan 22, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Llamaindex.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI llama-index ≤ 0.9.35 no fixed version —
PyPI llama-index < 0.9.35 0.9.35 pip install "llama-index>=0.9.35"

Per OSV / GitHub Advisories (GHSA-2jxw-4hm4-6w87, PYSEC-2024-12). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
llamaindexllamaindex≤ 0.9.34

Official sources

References

Links published by the sources. Open them with care.

  • github.com Exploit Issue Tracking Vendor Advisory