Skip to main content
VulnerabilityPublished Updated

CVE-2024-45201: llama_index · Code Injection

Source CVE Database V5

0

Not known to be exploited · CVSS 8.8 High · fixed in 0.10.38 : patch llama_index soon.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Affects
llama_index before 0.10.38
Patch
Available – fixed in 0.10.38
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Aug 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

AI-suggested

To mitigate CVE-2024-45201, organizations should: 1) Immediately upgrade llama_index to version 0.10.38 or later once the patch is released to eliminate the unsafe exec usage. 2) In the interim, restrict network access to services using vulnerable versions to trusted users only. 3) Audit and refactor codebases to remove or replace dynamic exec calls with safer alternatives such as explicit imports or factory patterns. 4) Implement strict input validation and sanitization on any user-controllable inputs that influence code execution paths. 5) Employ runtime application self-protection (RASP) or behavior-based detection to monitor for anomalous dynamic code execution. 6) Conduct thorough code reviews and static analysis focusing on dynamic code generation patterns. 7) Monitor security advisories and threat intelligence feeds for emerging exploit attempts targeting this vulnerability. 8) Educate developers on secure coding practices to avoid CWE-94 class vulnerabilities in future development.

Description

An issue was discovered in llama_index before 0.10.38.download/integration.py includes an exec call for import {cls_name}.

References

Community reviews

Loading reviews…