CVE-2025-1753

published 28 May 2025 · updated 28 May 2025

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

7.8HighCVSS 7.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 0.4.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
run-llama<0.4.10.4.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-1753 severity on Zeptric[![CVE-2025-1753](https://zeptric.io/badge/cve/CVE-2025-1753.svg)](https://zeptric.io/cve/CVE-2025-1753)