Vulnerability details

CVE-2025-1753

run-llama run-llama/llama_index

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

CVSS 3.0
7.8High

Official description

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.

CVSS scores

ScoreVersionSourceVector
7.8High 3.0 CVEProject cvelistV5 (CNA) (@huntr_ai) CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
run-llama run-llama/llama_index v < 0.4.1 CVEProject cvelistV5 (CNA)

References and advisories

2
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2025-05-28
Last updated
2025-05-28
State
Published
Assigner (CNA)
@huntr_ai

Exploit prediction (EPSS)

1.14%
Probability of exploitation in 30 days
66.8%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
Proof of concept
Technical impact
Total

Weaknesses (CWE)

  • CWE-78
    Improper Neutralization of Special Elements used in an OS Command