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
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.0 | 7.1 High | CVSS: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
| Product | Versions |
|---|---|
run-llama/llama_indexrun-llama |
|
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.