CVE-2024-12911

SQL Injection in run-llama/llama_index

State
Published
Severity
7.1 High
Published
Mar 20, 2025
Updated
Oct 15, 2025
Reserved
Dec 24, 2024

Read the record on cve.org

Description

A vulnerability in the `default_jsonalyzer` function of the `JSONalyzeQueryEngine` in the run-llama/llama_index repository allows for SQL injection via prompt injection. This can lead to arbitrary file creation and Denial-of-Service (DoS) attacks. The vulnerability affects the latest version and is fixed in version 0.5.1.

Scores

CVSSScoreVectorSource
3.07.1 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H@huntr_ai

Weaknesses

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command

Affected Products

ProductVersions
run-llama/llama_indexrun-llama
  • before 0.5.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.