CVE-2024-12911
HIGH 7.1CVSS 3.0LlamaIndex vulnerable to Creation of Temporary File in Directory with Insecure Permissions
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.
- Published
- 20 Mar 2025
- Last modified
- 7 Jul 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-379CWE-89
- Also known as
- GHSA-jmgm-gx32-vp4wPYSEC-2026-1555
- Sources
- NVDJSONOSV GHSA-jmgm-gx32-vp4wJSONOSV PYSEC-2026-1555JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 7.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H |
| OSV | PyPA | CVSS 3.0 | HIGH 7.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | llamaindex | llamaindexcpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:* |
< 0.5.1 | 0.5.1 |
| OSV | PyPI | llama-index | < 0.12.3 | 0.12.3 |
References
- https://github.com/run-llama/llama_index/commit/bf282074e20e7dafd5e2066137dcd4cd17c3fb9e · Patch, WEB
- https://huntr.com/bounties/095f9e67-311d-494c-99c5-5e61a0adb8f3 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-12911 · ADVISORY
- https://github.com/run-llama/llama_index · PACKAGE
- https://pypi.org/project/llama-index · PACKAGE
- https://github.com/advisories/GHSA-jmgm-gx32-vp4w · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Mar 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Mar 2025)