CVE-2024-3098 — Vulnerability in llama-index-core — CVE Details
llama-index-core Prompt Injection vulnerability leading to Arbitrary Code Execution
Summary
Advisory Timeline
- First published June 29, 2026 (105 days ago).
- Last revised July 1, 2026 — 2 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "llama-index-core>=0.10.24"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: pypi (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| llama-index-core | pypi | 0.10.0, 0.10.1, 0.10.10, 0.10.11 (+62 more) | 0.10.24 |
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-3098ADVISORY
- https://github.com/run-llama/llama_index/commit/2c92e88838a5f481d50840240b1dd3180066c6f5WEB
- https://github.com/run-llama/llama_index/commit/5fbcb5a8b9f20f81b791c7fc8849e352613ab475WEB
- https://github.com/run-llama/llama_indexPACKAGE
- https://huntr.com/bounties/1bce0d61-ad03-4b22-bc32-8f99f92974e7WEB
- https://pypi.org/project/llama-index-corePACKAGE
- https://github.com/advisories/GHSA-wvpx-g427-q9wcADVISORY
Frequently Asked Questions
- What is CVE-2024-3098?
- llama-index-core Prompt Injection vulnerability leading to Arbitrary Code Execution This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2024-3098?
- CVE-2024-3098 affects llama-index-core. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-3098 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2024-45201CRITICAL
LlamaIndex includes an exec call for `import {cls_name}`
- CVE-2024-3271CRITICAL
llama-index-core Command Injection vulnerability
- CVE-2026-61447CRITICAL
PraisonAI: CodeAgent Executes LLM-Generated Code Without Sandboxing and Leaks All Environment Secrets
- CVE-2026-61445CRITICAL
PraisonAI: AICoder Arbitrary File Write and Command Execution via LLM Tool Calls
- CVE-2024-45201CRITICAL
LlamaIndex includes an exec call for `import {cls_name}`
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies