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.
References
Configurations
No configuration.
History
28 May 2025, 15:01
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
28 May 2025, 10:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-05-28 10:15
Updated : 2025-05-28 15:01
NVD link : CVE-2025-1753
Mitre link : CVE-2025-1753
CVE.ORG link : CVE-2025-1753
JSON object : View
Products Affected
No product.
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')