CVE-2024-23751

    Dashboard / Vulnerabilities / CVE-2024-23751

    CVE-2024-23751

    Published: 22 Jan 2024Last Modified: 12 Aug 2026

    Summary:

    Details: 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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    v0.9.31
    v0.9.29
    v0.9.28.post2
    v0.9.28.post1
    v0.9.28
    v0.9.26
    v0.9.25
    v0.9.22
    v0.9.17.dev1
    v0.9.16.post1
    v0.9.15.post2
    v0.9.15.post1
    v0.9.15
    v0.9.14.post3
    v0.9.12
    v0.9.11.post1
    v0.9.10
    v0.9.9
    v0.9.8.post1
    v0.9.8
    v0.9.7
    v0.9.6.post2
    v0.9.6.post1
    v0.9.6
    v0.9.5
    v0.9.3.post1
    v0.9.3
    v0.9.1
    v0.9.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2024-23751 | CVE-DB