Advisory record · GHSA-wvpx-g427-q9wc

llama-index-core Prompt Injection vulnerability leading to Arbitrary Code Execution

CVSS 9.8 CriticalCriticalEPSS 0.0096 · 62nd percentile

Critical, because:

  • CVSS score 9.8: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 10 Apr 2024, 18:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
llama-index-corePyPI<0.10.240.10.24
Identifiers
GHSA-wvpx-g427-q9wc · CVE-2024-3098 · PYSEC-2026-397
Weakness (CWE)
CWE-94
Published
10 Apr 2024
Updated
27 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The llama-index-core PyPI package is vulnerable in versions before 0.10.24, through a flaw in the safe_eval function of its exec_utils class that allows prompt injection to lead to arbitrary code execution. An attacker who can supply crafted prompt input can bypass method restrictions that were meant to block unauthorized code, which the source says bypasses the earlier CVE-2023-39662 fix. Upgrade llama-index-core to version 0.10.24 or later, which is listed as the fixed version.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.8 Critical 3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CNA (@huntr_ai)
  • CISA KEV Not listed.
  • EPSS 0.0096, the 62nd percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:07 UTC First seen by agentprime
  2. 31 Oct 2026, 14:07 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.