{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-4181","id":"CVE-2024-4181","title":"Command Injection in run-llama/llama_index","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","descriptionLong":"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-16T09:03:47.278Z","updated":"2026-10-28T02:30:50.855884448Z","reserved":"2024-04-25T13:52:02.986Z","status":"Analyzed","rejected":false,"assigner":"@huntr_ai","metric":{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"@huntr_ai"},"metrics":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"@huntr_ai"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"huntr.dev"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/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.10.13","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"llama-index","purl":"pkg:pypi/llama-index","ranges":["<0.10.13",">=0.9.47 <0.10.13"],"fixed":["0.10.13"],"advisory":"GHSA-pw38-xv9x-h8ch"},{"ecosystem":"PyPI","name":"llama-index-llms-rungpt","purl":"pkg:pypi/llama-index-llms-rungpt","ranges":["<0.1.3"],"fixed":["0.1.3"],"advisory":"GHSA-pw38-xv9x-h8ch"}],"cwes":["CWE-94"],"aliases":["GHSA-pw38-xv9x-h8ch","PYSEC-2024-324","PYSEC-2026-1565"],"references":[{"url":"https://huntr.com/bounties/1a204520-598a-434e-b13d-0d34f2a5ddc1","tags":["x_transferred","Exploit","Third Party Advisory","web","evidence"]},{"url":"https://github.com/run-llama/llama_index/commit/d73715eaf0642705583e7897c78b9c8dd2d3a7ba","tags":["x_transferred","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4181.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4181","tags":["advisory"]},{"url":"https://github.com/run-llama/llama_index","tags":["package"]},{"url":"https://pypi.org/project/llama-index-llms-rungpt","tags":["package"]},{"url":"https://github.com/advisories/GHSA-pw38-xv9x-h8ch","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.02135,"epssPercentile":0.82371,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-4181","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4181","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-4181","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-pw38-xv9x-h8ch","ok":true,"note":"GHSA-pw38-xv9x-h8ch"},{"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-4181","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}