Llama Index Core Prompt Injection Leading to Code Execution
Attack on AI2 Disclosed vulnerabilityPrompt injectionInfrastructure vulnerability
A vulnerability in the safe_eval function of llama-index-core allows prompt injection to bypass restrictions and execute arbitrary code. This bypasses a previously patched vulnerability.
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
- Prompt injectionprimaryUntrusted content (web pages, documents, emails, tool output) steers a model into ignoring its instructions.
- Infrastructure vulnerabilityCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Prompt injectionprimary
- owasp llm top 10
- mitre atlas
- Both 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
- llama-index-core
- incident date
- 10 Apr 2024
- first reported
- 10 Apr 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-3098 · prompt_injection · rce
- record
- created 2026-10-18 07:00Z · updated 2026-10-18 07:00Z · json
Sources · 1
- 2024-04-10CVE-2024-3098: llama-index-core Prompt Injection vulnerability leading to Arbitrary Code ExecutionGitHub Advisory Database · github.com/advisories/GHSA-wvpx-g427-q9wc
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-09-19CVE-2024-46946: LangChain Experimental Eval Injection vulnerability2 Disclosedon AIInfra vulnPrompt inj.2 src
- 2024-08-08CVE-2024-6706: Open WebUI Stored Cross-Site Scripting2 Disclosedon AIInfra vulnPrompt inj.1 src
- 2024-04-16CVE-2024-3271: LlamaIndex command injection vulnerability2 Disclosedon AIInfra vuln1 src
- 2023-10-21CVE-2023-32785: Langchain SQL Injection vulnerability2 Disclosedon AIInfra vulnPrompt inj.1 src
- 2023-10-20CVE-2023-32786: Prompt injection and SSRF vulnerability in Langchain2 Disclosedon AIPrompt inj.Infra vuln1 src
- 2025-10-17CVE-2025-62353: Path traversal vulnerability in Windsurf IDE2 Disclosedon AIInfra vulnPrompt inj.1 src