CVE-2025-1753

HIGH

LLama-Index CLI <0.12.20 - Command Injection

Title source: llm

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.

Exploits (1)

github WORKING POC
by manus-use · postscriptpoc
https://github.com/manus-use/cve-pocs/tree/main/llama-index-cli-CVE-2025-1753

Scores

CVSS v3 7.8
EPSS 0.0005
EPSS Percentile 15.8%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE
CWE-78
Status published

Affected Products (2)

llamaindex/llamaindex
pypi/llama-index-cli < 0.4.1PyPI

Timeline

Published May 28, 2025
Tracked Since Feb 18, 2026