CVE-2024-45201 — Vulnerability in llama-index-core — CVE Details
LlamaIndex includes an exec call for `import {cls_name}`
Summary
Advisory Timeline
- First published August 22, 2024 (781 days ago).
- Last revised June 29, 2026 — 676 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "llama-index-core>=0.10.38"
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 (+83 more) | 0.10.38 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/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-45201ADVISORY
- https://github.com/run-llama/llama_index/pull/13523WEB
- https://github.com/run-llama/llama_index/commit/bd827c30484fa085ec769fa55dc7f2add8006ac8WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2024-192.yamlWEB
- https://github.com/run-llama/llama_indexPACKAGE
- https://github.com/run-llama/llama_index/compare/v0.10.37...v0.10.38WEB
Frequently Asked Questions
- What is CVE-2024-45201?
- LlamaIndex includes an exec call for `import {cls_name}` 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-45201?
- CVE-2024-45201 affects llama-index-core. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-45201 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2024-3271CRITICAL
llama-index-core Command Injection vulnerability
- CVE-2024-3098CRITICAL
llama-index-core Prompt Injection vulnerability leading to Arbitrary Code Execution
- 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
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies