{
 "id": "CVE-2024-12911",
 "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.",
 "published": "2025-03-20",
 "last_modified": "2026-06-17",
 "vuln_status": "Modified",
 "cna": "security@huntr.dev",
 "cvss": {
  "version": "3.0",
  "score": 7.1,
  "severity": "HIGH",
  "vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H",
  "source": "security@huntr.dev"
 },
 "cwe": [
  "CWE-89"
 ],
 "products": [
  {
   "vendor": "llamaindex",
   "product": "llamaindex",
   "versions_affected": "< 0.5.1",
   "fixed_in": "0.5.1",
   "product_id": "llamaindex"
  }
 ],
 "category": "framework",
 "surface": [
  "prompt_injection"
 ],
 "kev": null,
 "fix": {
  "status": "fixed",
  "version": "0.5.1",
  "url": "https://github.com/run-llama/llama_index/commit/bf282074e20e7dafd5e2066137dcd4cd17c3fb9e"
 },
 "references": [
  {
   "url": "https://github.com/run-llama/llama_index/commit/bf282074e20e7dafd5e2066137dcd4cd17c3fb9e",
   "source": "security@huntr.dev",
   "tags": [
    "Patch"
   ]
  }
 ],
 "related_agents": [
  "llamaindex-llamaindex"
 ],
 "related_incidents": [],
 "match": {
  "tests": [
   "A:cpe",
   "B:vocabulary"
  ],
  "terms": [
   "llamaindex:llamaindex:llamaindex",
   "prompt injection"
  ]
 },
 "status": "candidate",
 "note": null,
 "reviewer": null,
 "checked_on": null,
 "retrieved_on": "2026-10-25"
}