{"id":"CVE-2024-12911","aliases":["CVE-2024-12911","GHSA-jmgm-gx32-vp4w","PYSEC-2026-1555"],"related":[],"kind":"vulnerability","state":"published","title":"SQL Injection in run-llama/llama_index","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","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.12.3.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una vulnerabilidad en la función `default_jsonalyzer` del `JSONalyzeQueryEngine` del repositorio run-llama/llama_index permite la inyección de SQL mediante la inyección de prompts. Esto puede provocar la creación arbitraria de archivos y ataques de denegación de servicio (DoS). La vulnerabilidad afecta a la última versión y está corregida en la versión 0.5.1.","source":"nvd"}],"published":"2025-03-20T10:09:44.583Z","modified":"2026-07-07T17:57:17.453Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","score":7.1,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-89","CWE-379"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"0.5.1","status":"affected"}],"vendor":"run-llama","product":"run-llama/llama_index","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.12.3"}],"ecosystem":"PyPI","package":"llama-index","purl":"pkg:pypi/llama-index","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.5.1"}],"vendor":"llamaindex","product":"llamaindex","cpe":"cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.12.3"}],"ecosystem":"PyPI","package":"llama-index","purl":"pkg:pypi/llama-index","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/095f9e67-311d-494c-99c5-5e61a0adb8f3","tags":["exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/run-llama/llama_index/commit/bf282074e20e7dafd5e2066137dcd4cd17c3fb9e","tags":["patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12911","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/run-llama/llama_index","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/llama-index","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-jmgm-gx32-vp4w","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-03-20T17:50:15.699Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-12911","url":"https://www.cve.org/CVERecord?id=CVE-2024-12911","licence":"CVE Terms of Use","modified":"2025-10-15T12:50:19.844Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jmgm-gx32-vp4w","url":"https://github.com/advisories/GHSA-jmgm-gx32-vp4w","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:17.453Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-12911","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12911","licence":"Public domain","modified":"2026-06-17T07:00:44.960Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1555","url":"https://osv.dev/vulnerability/PYSEC-2026-1555","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:53.714Z"}],"updatedAt":"2026-11-25T22:58:52.367Z","epss":{"score":0.00522,"percentile":0.45801,"date":"2026-12-02T12:00:21.000Z"}}