Remote Code Execution Vulnerability in anything-llm Could Lead to Code Execution and Data Modification
Key Information
- Vendor
- Mintplex-labs
- Status
- Mintplex-labs/anything-llm
- Vendor
- CVE Published:
- 6 June 2024
Summary
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.
Affected Version(s)
mintplex-labs/anything-llm < 1.0.0
CVSS V3.1
Timeline
Risk change from: null to: 9.6 - (CRITICAL)
Vulnerability published.
Vulnerability Reserved.