{
 "id": "CVE-2024-4181",
 "description": "A command injection vulnerability exists in the RunGptLLM class of the llama_index library, version 0.9.47, used by the RunGpt framework from JinaAI to connect to Language Learning Models (LLMs). The vulnerability arises from the improper use of the eval function, allowing a malicious or compromised LLM hosting provider to execute arbitrary commands on the client's machine. This issue was fixed in version 0.10.13. The exploitation of this vulnerability could lead to a hosting provider gaining full control over client machines.",
 "published": "2024-05-16",
 "last_modified": "2026-06-17",
 "vuln_status": "Analyzed",
 "cna": "security@huntr.dev",
 "cvss": {
  "version": "3.0",
  "score": 8.8,
  "severity": "HIGH",
  "vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
  "source": "security@huntr.dev"
 },
 "cwe": [
  "CWE-94"
 ],
 "products": [
  {
   "vendor": "llamaindex",
   "product": "llamaindex",
   "versions_affected": ">= 0.9.47 < 0.10.13",
   "fixed_in": "0.10.13",
   "product_id": "llamaindex"
  }
 ],
 "category": "framework",
 "surface": [
  "code_execution"
 ],
 "kev": null,
 "fix": {
  "status": "fixed",
  "version": "0.10.13",
  "url": "https://github.com/run-llama/llama_index/commit/d73715eaf0642705583e7897c78b9c8dd2d3a7ba"
 },
 "references": [
  {
   "url": "https://github.com/run-llama/llama_index/commit/d73715eaf0642705583e7897c78b9c8dd2d3a7ba",
   "source": "security@huntr.dev",
   "tags": [
    "Patch"
   ]
  },
  {
   "url": "https://github.com/run-llama/llama_index/commit/d73715eaf0642705583e7897c78b9c8dd2d3a7ba",
   "source": "af854a3a-2127-422b-91ae-364da2661108",
   "tags": [
    "Patch"
   ]
  }
 ],
 "related_agents": [
  "llamaindex-llamaindex"
 ],
 "related_incidents": [],
 "match": {
  "tests": [
   "A:cpe"
  ],
  "terms": [
   "llamaindex:llamaindex:llamaindex"
  ]
 },
 "status": "candidate",
 "note": null,
 "reviewer": null,
 "checked_on": null,
 "retrieved_on": "2026-10-25"
}