CVE-2024-4181: LlamaIndex RunGptLLM Command Injection
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
A command injection vulnerability in LlamaIndex enables a compromised LLM provider to execute arbitrary commands. The flaw was fixed in version 0.10.13.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
Details
- type
- Attack on AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Infrastructure vulnerabilityCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Infrastructure vulnerability
- owasp llm top 10
- mitre atlas
- no technique for these categoriesBoth rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 2 · Disclosed vulnerabilityCVE or vendor advisory, patched or patchable, no confirmed exploitation.
- targets
- Framework / tooling
- products
- LlamaIndex, llama_index
- incident date
- 16 May 2024
- first reported
- 16 May 2024
- origin
- GitHub Advisory DatabaseVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- classifier confidence
- 0.95 · published at or above 0.80; see the methodology
- tags
- CVE-2024-4181 · rce · command-injection
- record
- created 2026-10-18 07:00Z · updated 2026-10-18 07:00Z · json
Sources · 1
- 2024-05-16CVE-2024-4181: RunGptLLM class in LlamaIndex has a command injectionGitHub Advisory Database · github.com/advisories/GHSA-pw38-xv9x-h8ch
Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2024-08-22CVE-2024-45201: LlamaIndex dynamic import execution vulnerability2 Disclosedon AIInfra vuln1 src
- 2025-08-26CVE-2025-5302: LlamaIndex Denial of Service in JSONReader2 Disclosedon AIInfra vuln1 src
- 2025-07-10CVE-2025-6211: LlamaIndex vulnerable to data loss via MD5 hash collisions2 Disclosedon AIInfra vuln1 src
- 2025-07-07CVE-2025-6209: LlamaIndex path traversal vulnerability in encode_image2 Disclosedon AIInfra vuln1 src
- 2025-07-07LlamaIndex vulnerable to remote code execution in JsonPickleSerializer2 Disclosedon AIInfra vuln1 src
- 2025-07-07LlamaIndex vulnerable to DoS through recursive JSON parsing2 Disclosedon AIInfra vuln1 src