{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-12911","id":"CVE-2024-12911","title":"SQL Injection in run-llama/llama_index","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.","descriptionLong":"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":"2025-03-20T10:09:44.583Z","updated":"2026-10-28T02:30:26.973534366Z","reserved":"2024-12-24T07:51:29.340Z","status":"Modified","rejected":false,"assigner":"@huntr_ai","metric":{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","rating":"high","source":"@huntr_ai"},"metrics":[{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","rating":"high","source":"@huntr_ai"},{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","rating":"high","source":"huntr.dev"},{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["run-llama/llama_index"],"affectedProducts":[{"vendor":"run-llama","product":"run-llama/llama_index","defaultStatus":null,"versions":[{"version":"unspecified","lessThan":"0.5.1","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"llama-index","purl":"pkg:pypi/llama-index","ranges":["<0.12.3"],"fixed":["0.12.3"],"advisory":"GHSA-jmgm-gx32-vp4w"}],"cwes":["CWE-89","CWE-379"],"aliases":["GHSA-jmgm-gx32-vp4w","PYSEC-2026-1555"],"references":[{"url":"https://huntr.com/bounties/095f9e67-311d-494c-99c5-5e61a0adb8f3","tags":["Exploit","Third Party Advisory","web"]},{"url":"https://github.com/run-llama/llama_index/commit/bf282074e20e7dafd5e2066137dcd4cd17c3fb9e","tags":["Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12911.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12911","tags":["advisory"]},{"url":"https://github.com/run-llama/llama_index","tags":["package"]},{"url":"https://pypi.org/project/llama-index","tags":["package"]},{"url":"https://github.com/advisories/GHSA-jmgm-gx32-vp4w","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00522,"epssPercentile":0.45006,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-12911","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12911","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-12911","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-jmgm-gx32-vp4w","ok":true,"note":"GHSA-jmgm-gx32-vp4w"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-12911","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}