CVE-2024-3104
Remote Code Execution in mintplex-labs/anything-llm
- State
- Published
- Severity
- 9.6 Critical
- Published
- Jun 6, 2024
- Updated
- Aug 1, 2024
- Reserved
- Mar 29, 2024
Description
A remote code execution vulnerability exists in mintplex-labs/anything-llm due to improper handling of environment variables. Attackers can exploit this vulnerability by injecting arbitrary environment variables via the `POST /api/system/update-env` endpoint, which allows for the execution of arbitrary code on the host running anything-llm. The vulnerability is present in the latest version of anything-llm, with the latest commit identified as fde905aac1812b84066ff72e5f2f90b56d4c3a59. This issue has been fixed in version 1.0.0. Successful exploitation could lead to code execution on the host, enabling attackers to read and modify data accessible to the user running the service, potentially leading to a denial of service.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.0 | 9.6 Critical | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | @huntr_ai |
Weaknesses
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Affected Products
| Product | Versions |
|---|---|
mintplex-labs/anything-llmmintplex-labs |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.