CVE-2026-5627
JSON

9.1critical

Path Traversal in mintplex-labs/anything-llm

Severity
9.1critical CVSS:3.0 by @huntr_ai
Exploit likelihood
1.15% (higher than 67% of CVEs)
Published
Last changed
Assigned by
@huntr_ai

Description

A path traversal vulnerability exists in mintplex-labs/anything-llm versions up to and including 1.9.1, within the `AgentFlows` component. The vulnerability arises from improper handling of user input in the `loadFlow` and `deleteFlow` methods in `server/utils/agentFlows/index.js`. Specifically, the combination of `path.join` and `normalizePath` allows attackers to bypass directory restrictions and access or delete arbitrary `.json` files on the server. This can lead to information disclosure, such as leaking sensitive configuration files containing API keys, or denial of service by deleting critical files like `package.json`. The issue is resolved in version 1.12.1.

Affected

Product or packageVersionsReported by
mintplex-labs mintplex-labs/anything-llmfrom unspecified before 1.12.1CVE List
mintplexlabs anythingllmup to 1.9.1NVD

All scores

@huntr_ai9.1critical CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
NVD7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-29

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

A path traversal vulnerability exists in mintplex-labs/anything-llm versions up to and including 1.9.1, within the `AgentFlows` component. The vulnerability arises from improper handling of user input in the `loadFlow` and `deleteFlow` methods in `server/utils/agentFlows/index.js`. Specifically, the combination of `path.join` and `normalizePath` allows attackers to bypass directory restrictions and access or delete arbitrary `.json` files on the server. This can lead to information disclosure, such as leaking sensitive configuration files containing API keys, or denial of service by deleting critical files like `package.json`. The issue is resolved in version 1.12.1.

NVD (es)

Una vulnerabilidad de salto de ruta existe en las versiones de mintplex-labs/anything-llm hasta la 1.9.1 inclusive, dentro del componente ’AgentFlows’. La vulnerabilidad surge de un manejo inadecuado de la entrada del usuario en los métodos ’loadFlow’ y ’deleteFlow’ en ’server/utils/agentFlows/index.js’. Específicamente, la combinación de ’path.join’ y ’normalizePath’ permite a los atacantes eludir las restricciones de directorio y acceder o eliminar archivos ’.json’ arbitrarios en el servidor. Esto puede llevar a la revelación de información, como la fuga de archivos de configuración sensibles que contienen claves API, o a la denegación de servicio al eliminar archivos críticos como ’package.json’. El problema se resuelve en la versión 1.12.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-5627 changed 2026-04-07CVE Terms of Use
NVDCVE-2026-5627 changed 2026-10-26Public domain