← Vulnerability feed

Vulnerability record · CVE-2024-3104 · published 6 June 2024

CVE-2024-3104: Mintplexlabs anythingllm os command injection vulnerability

Mintplexlabs · Anythingllm

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.

9.8 CVSS 3.1 Critical EPSS 0.98% · top 39.3% CWE-78 · OS command injection
9.8CVSS 3.1 base score
0.98%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-3104 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.9CVE-2024-3025Mintplexlabs anythingllm relative path traversal vulnerabilitymintplex-labs/anything-llm is vulnerable to path traversal attacks due to insufficient validation of user-supplied input in the logo filename functio…EPSS 1.0%9.8CVE-2023-4897Mintplexlabs anythingllm relative path traversal vulnerabilityRelative Path Traversal in GitHub repository mintplex-labs/anything-llm prior to 0.0.1.EPSS 0.90%9.6CVE-2026-32626Mintplexlabs anythingllm cross-site scripting vulnerabilityAnythingLLM is an application that turns pieces of content into context that any LLM can use as references during chatting. In 1.11.1 and earlier, An…EPSS 0.73%9.4CVE-2024-3033Mintplexlabs anythingllm incorrect authorization vulnerabilityAn improper authorization vulnerability exists in the mintplex-labs/anything-llm application, specifically within the '/api/v/' endpoint and its sub-…EPSS 0.55%9.1CVE-2024-3279Mintplexlabs anythingllm missing authentication for critical function vulnerabilityAn improper access control vulnerability exists in the mintplex-labs/anything-llm application, specifically within the import endpoint. This vulnerab…EPSS 0.65%9.1CVE-2024-0404Mintplexlabs anythingllm mass assignment vulnerabilityA mass assignment vulnerability exists in the `/api/invite/:code` endpoint of the mintplex-labs/anything-llm repository, allowing unauthorized creati…EPSS 0.78%9.1CVE-2023-5832Mintplexlabs anythingllm improper input validation vulnerabilityImproper Input Validation in GitHub repository mintplex-labs/anything-llm prior to 0.1.0.EPSS 0.74%8.8CVE-2026-48116Mintplexlabs anythingllm command injection vulnerabilityAnythingLLM is an application that turns pieces of content into context that any LLM can use as references during chatting. Prior to 1.13.0, the file…EPSS 0.54%

Source: NIST National Vulnerability Database (record CVE-2024-3104), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.