Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-1753
May 28, 2025
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 Packages
llama-index (CONDA):
Affected version(s) >=0.10.6 <0.12.21
Fix Suggestion:
Update to version 0.12.21
https://github.com/run-llama/llama_index.git (GITHUB):
Affected version(s) >=v0.10.5 <v0.12.21
Fix Suggestion:
Update to version v0.12.21
llama-index-cli (PYTHON):
Affected version(s) >=0.1.0 <0.4.1
Fix Suggestion:
Update to version 0.4.1
llama-index (PYTHON):
Affected version(s) >=0.10.5 <0.12.21
Fix Suggestion:
Update to version 0.12.21
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.5
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.8
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
EPSS
Base Score:
0.14