CVE-2025-1753

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

No CVSS.

Configurations

Configuration 1 (hide)

cpe:2.3:a:llamaindex:llamaindex:0.12.20:*:*:*:*:*:*:*

History

07 Aug 2025, 00:48

Type Values Removed Values Added
CPE cpe:2.3:a:llamaindex:llamaindex:0.12.20:*:*:*:*:*:*:*
First Time Llamaindex llamaindex
Llamaindex
References () https://github.com/run-llama/llama_index/commit/b57e76738c53ca82d88658b82f2d82d1c7839c7d - () https://github.com/run-llama/llama_index/commit/b57e76738c53ca82d88658b82f2d82d1c7839c7d - Patch
References () https://huntr.com/bounties/19e1c67e-1d77-451d-b10b-acbe99900b22 - () https://huntr.com/bounties/19e1c67e-1d77-451d-b10b-acbe99900b22 - Exploit, Third Party Advisory

28 May 2025, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-05-28 10:15

Updated : 2025-08-07 00:48


NVD link : CVE-2025-1753

Mitre link : CVE-2025-1753


JSON object : View

Products Affected

llamaindex

  • llamaindex
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')