Advisory record · GHSA-g99h-56mw-8263

LLama-Index CLI OS command injection vulnerability

CVSS 7.8 HighEPSS 0.011 · 67th percentile

Published by the GitHub Advisory Database at 28 May 2025, 12:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
llama-index-cliPyPI<0.4.10.4.1
Identifiers
GHSA-g99h-56mw-8263 · CVE-2025-1753 · PYSEC-2025-246 · PYSEC-2026-1557
Weakness (CWE)
CWE-78
Published
28 May 2025
Updated
13 Jul 2026

Machine-written summary

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

The llama-index-cli package before 0.4.1 has an OS command injection flaw in its handling of the --files argument, which is passed directly to os.system. An attacker who can control that argument, locally or through a web application that passes a user-controlled filename to the CLI, can run arbitrary shell commands. Upgrade llama-index-cli to version 0.4.1 or later.

Written 6 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
7.8 High 3.0 CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CNA (@huntr_ai)
  • CISA KEV Not listed.
  • EPSS 0.011, the 67th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:04 UTC First seen by agentprime
  2. 31 Oct 2026, 15:04 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.