Home » Database

AVID-2026-R1460

Description

Remote Code Execution in mintplex-labs/anything-llm (CVE-2024-3104)

Details

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.

Reason for inclusion in AVID: CVE-2024-3104 describes a remote code execution flaw in mintplex-labs/anything-llm, an AI-serving application. The vulnerability enables arbitrary code execution via a REST endpoint, impacting the host running the AI service. This is a security vulnerability within software that is used to build/deploy/run general-purpose AI systems, i.e., a component of the AI software supply chain. The CVE provides explicit details (endpoint, impact, CVSS metrics, and a fix) supporting its relevance to AI systems and supply-chain contexts.

References

Affected or Relevant Artifacts

  • Developer: mintplex-labs
  • Deployer: mintplex-labs
  • Artifact Details:
TypeName
Systemmintplex-labs/anything-llm

Impact

AVID Taxonomy Categorization

  • Risk domains: Security
  • SEP subcategories: S0100: Software Vulnerability
  • Lifecycle stages: L06: Deployment

CVSS

Version3.0
Vector StringCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Base Score9.6
Base Severity🔴 Critical
Attack VectorNETWORK
Attack Complexity🟢 Low
Privileges RequiredNONE
User InteractionREQUIRED
ScopeCHANGED
Confidentiality Impact🔴 High
Integrity Impact🔴 High
Availability Impact🔴 High

CWE

IDDescription
CWE-78CWE-78 Improper Neutralization of Special Elements used in an OS Command

Other information

  • Report Type: Advisory
  • Credits:
  • Date Reported: 2024-06-06
  • Version: 0.3.3
  • AVID Entry