{"id":"CVE-2024-12911","published":"2025-03-20T10:09:44Z","modified":"2025-10-15T12:50:19Z","title":"SQL Injection in run-llama/llama_index","vendor":"run-llama","product":"run-llama/llama_index","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00522,"percentile":0.45219,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://huntr.com/bounties/095f9e67-311d-494c-99c5-5e61a0adb8f3","tags":[]},{"url":"https://github.com/run-llama/llama_index/commit/bf282074e20e7dafd5e2066137dcd4cd17c3fb9e","tags":[]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":9.04},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"run-llama","affectedVersions":[{"vendor":"run-llama","product":"run-llama/llama_index","versions":[">= unspecified, < 0.5.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-20T17:50:15.699354Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"llama-index","vulnerableRanges":["<0.12.3"],"patched":["0.12.3"],"from":["GHSA-jmgm-gx32-vp4w","PYSEC-2026-1555"],"provenance":"source"}],"summary":{"text":"A SQL injection flaw in the default_jsonalyzer function of the JSONalyzeQueryEngine component within the run-llama/llama_index product allows untrusted input to alter SQL commands. An attacker can exploit it remotely over the network without authentication, but only if a user interacts with the crafted input via prompt injection, and the result can include arbitrary file creation and denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:16Z"},"euvd":{"id":"EUVD-2025-6988","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-4181","published":"2024-05-16","fixed":"0.10.13","kev":false},{"cve":"CVE-2024-45201","published":"2024-08-22","fixed":"0.10.38","kev":false},{"cve":"CVE-2024-14021","published":"2026-01-12","fixed":"0.11.7","kev":false},{"cve":"CVE-2024-12911","published":"2025-03-20","fixed":"0.12.3","kev":false},{"cve":"CVE-2024-58339","published":"2026-01-12","fixed":"0.12.3","kev":false},{"cve":"CVE-2024-12910","published":"2025-03-20","fixed":"0.12.9","kev":false,"link":{"from":"CVE-2024-12911","to":"CVE-2024-12910","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:llama-index","fromFixed":"0.12.3","toFixed":"0.12.9","daysApart":0}]}},{"cve":"CVE-2025-1750","published":"2025-06-02","fixed":"0.12.21","kev":false}],"package":"PyPI:llama-index"}}