Advisory record · GHSA-r6gp-rff2-p3hf

llama-index-core Command Injection vulnerability

CVSS 9.8 CriticalCriticalEPSS 0.029 · 87th percentile

Critical, because:

  • CVSS score 9.8: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 29 Jun 2026, 11:50 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-r6gp-rff2-p3hf · CVE-2024-3271 · PYSEC-2026-396
Weakness (CWE)
CWE-77
Published
29 Jun 2026
Updated
1 Jul 2026

Machine-written summary

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

llama-index-core versions before 0.10.24 are vulnerable to command injection in the safe_eval function, which is meant to block code generated by an LLM that contains underscores. An attacker who can supply input that the LLM turns into code can craft it to avoid the underscore check and run arbitrary OS commands on the server, giving remote code execution. Upgrade llama-index-core to version 0.10.24 or later.

Written 10 Nov 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.029, the 87th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

This record came from the full history of the GitHub Advisory Database, published 29 Jun 2026. New records show when each source confirmed them.

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.