{"id":"CVE-2024-4181","aliases":["CVE-2024-4181","GHSA-pw38-xv9x-h8ch","PYSEC-2024-324","PYSEC-2026-1565"],"related":[],"kind":"vulnerability","state":"published","title":"Command Injection in run-llama/llama_index","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Existe una vulnerabilidad de inyección de comandos en la clase RunGptLLM de la librería llama_index, versión 0.9.47, utilizada por el marco RunGpt de JinaAI para conectarse a los modelos de aprendizaje de idiomas (LLM). La vulnerabilidad surge del uso inadecuado de la función de evaluación, lo que permite que un proveedor de alojamiento LLM malicioso o comprometido ejecute comandos arbitrarios en la máquina del cliente. Este problema se solucionó en la versión 0.10.13. La explotación de esta vulnerabilidad podría llevar a que un proveedor de alojamiento obtenga control total sobre las máquinas cliente.","source":"nvd"}],"published":"2024-05-16T09:03:47.278Z","modified":"2026-07-13T07:26:21.243Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"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:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"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:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"0.10.13","status":"affected"}],"vendor":"run-llama","product":"run-llama/llama_index","source":"cvelist"},{"ranges":[{"version":"0.9.47","status":"affected"}],"vendor":"run-llama","product":"llama_index","cpe":"cpe:2.3:a:run-llama:llama_index:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.10.13"}],"ecosystem":"PyPI","package":"llama-index","purl":"pkg:pypi/llama-index","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.1.3"}],"ecosystem":"PyPI","package":"llama-index-llms-rungpt","purl":"pkg:pypi/llama-index-llms-rungpt","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"0.9.47","fixed":"0.10.13"}],"vendor":"llamaindex","product":"llamaindex","cpe":"cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0.9.47","status":"affected","fixed":"0.10.13"}],"ecosystem":"PyPI","package":"llama-index","purl":"pkg:pypi/llama-index","source":"pysec"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.1.3"}],"ecosystem":"PyPI","package":"llama-index-llms-rungpt","purl":"pkg:pypi/llama-index-llms-rungpt","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/1a204520-598a-434e-b13d-0d34f2a5ddc1","tags":["evidence","exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/run-llama/llama_index/commit/d73715eaf0642705583e7897c78b9c8dd2d3a7ba","tags":["fix","patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4181","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-llms-rungpt","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-pw38-xv9x-h8ch","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-05-16T16:10:22.479Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-4181","url":"https://www.cve.org/CVERecord?id=CVE-2024-4181","licence":"CVE Terms of Use","modified":"2024-08-01T20:33:52.659Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pw38-xv9x-h8ch","url":"https://github.com/advisories/GHSA-pw38-xv9x-h8ch","licence":"CC-BY-4.0","modified":"2026-07-13T07:26:21.243Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-4181","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4181","licence":"Public domain","modified":"2026-06-17T08:01:16.973Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2024-324","url":"https://osv.dev/vulnerability/PYSEC-2024-324","licence":"CC-BY-4.0","modified":"2026-07-13T07:26:21.243Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1565","url":"https://osv.dev/vulnerability/PYSEC-2026-1565","licence":"CC-BY-4.0","modified":"2026-07-13T07:26:21.243Z"}],"updatedAt":"2026-11-25T22:58:40.433Z","epss":{"score":0.02135,"percentile":0.82546,"date":"2026-12-02T12:00:21.000Z"}}