CVE-2024-12911Llamaindex
High 7.1 No auth needed
Follow: this CVE · Llamaindex · Llamaindex We alert you by email or Slack (account required).
- Priority
- 58
- CVSS 3.0
- 7.1
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 40
- Auth required
- No
- Published
- Mar 20, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
What happens
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.
What to do
- Apply the vendor's security update for Llamaindex.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | llama-index |
< 0.12.3 |
0.12.3 |
pip install "llama-index>=0.12.3" |
| PyPI | llama-index |
< 0.12.3 |
0.12.3 |
pip install "llama-index>=0.12.3" |
Per OSV / GitHub Advisories (GHSA-jmgm-gx32-vp4w, PYSEC-2026-1555). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| llamaindex | llamaindex | < 0.5.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- huntr.com Exploit Third Party Advisory