Read the docs
TI-2025-01510 Aliases CVE-2025-1753GHSA-g99h-56mw-8263

Command Injection in LLama-Index CLI in run-llama/llama_index

Priority HIGH 69CWE-78Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-78.

Summary

LLama-Index CLI version v0.12.20 contains an OS command injection vulnerability. The vulnerability arises from the improper handling of the `--files` argument, which is directly passed into `os.system`. An attacker who controls the content of this argument can inject and execute arbitrary shell commands. This vulnerability can be exploited locally if the attacker has control over the CLI arguments, and remotely if a web application calls the LLama-Index CLI with a user-controlled filename. This issue can lead to arbitrary code execution on the affected system.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01142 66th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial run-llama/llama_index (run-llama): 0.4.1llama-index-cli (PyPI): 0.4.1Red Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
run-llamarun-llama/llama_indexbefore 0.4.10.4.1Patch availableCNA
—llama-index-cli (PyPI)before 0.4.10.4.1Patch availableGHSA-g99h-56mw-8263
  • run-llama/llama_index Vendorrun-llama Affected before 0.4.1 Fixed in 0.4.1 Patch available CNA
  • llama-index-cli (PyPI) Vendor— Affected before 0.4.1 Fixed in 0.4.1 Patch available GHSA-g99h-56mw-8263

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:llamaindex:llamaindex:0.12.20:*:*:*:*:*:*:*0.12.20Vulnerablerun-llama
  • cpe:2.3:a:llamaindex:llamaindex:0.12.20:*:*:*:*:*:*:* Versions 0.12.20 Vulnerable ·run-llama

Remediation

  • Fix · CNA run-llama/llama_index (run-llama) Fixed in 0.4.1
  • Fix · GHSA-g99h-56mw-8263 llama-index-cli (PyPI) Fixed in 0.4.1 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
OpenShift LightspeedAffectedNo fix yet
Not affected: 1 product
  • Red Hat Ansible Automation Platform 2

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-1753
  2. 2026-10-03 Alias added: GHSA-g99h-56mw-8263

References

  • TI-2025-01545 SQL Injection in run-llama/llama_index CVSS 3.0CRITICAL 9.8
  • TI-2025-01507 SQL Injection in run-llama/llama_index CVSS 3.0CRITICAL 9.8
  • TI-2024-11960 SQL Injection to RCE in run-llama/llama_index CVSS 3.1CRITICAL 9.8
  • TI-2024-11094 SQL Injection in run-llama/llama_index CVSS 3.0CRITICAL 9.8
  • TI-2024-03068 Command Injection in run-llama/llama_index CVSS 3.0CRITICAL 9.8
  • TI-2024-15754 LlamaIndex (aka llama_index) through 0.9.34 allows SQL injection via the Text-to-SQL… CVSS 3.1CRITICAL 9.8
See all 23 →

Sources