CVE-2026-39417
JSON

4.6medium

MaxKB: RCE via MCP stdio command injection in workflow engine

Severity
4.6medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.26% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

MaxKB is an open-source AI assistant for enterprise. Versions 2.7.1 and below contain an incomplete fix for CVE-2025-53928, where a Remote Code Execution vulnerability still exists in the MCP node of the workflow engine. MaxKB only restricts the referencing code path (loading MCP config from the database). The else branch, responsible for loading mcp_servers directly from user-supplied JSON remains completely unpatched. Since mcp_source is an optional field (required=False), an attacker can simply omit it or set it to any non-referencing value to bypass the fix. By calling the workflow creation API directly with a crafted JSON payload, an attacker can inject a complete MCP node configuration with stdio transport, arbitrary command, and args — achieving RCE when the workflow is triggered via chat. This issue has been fixed in version 2.8.0.

Affected

Product or packageVersionsReported by
1Panel-dev MaxKB< 2.8.0CVE List
maxkb maxkbbefore 2.8.0NVD

All scores

GitHub_M4.6medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
NVD5.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L

Classification

CWE-20CWE-78

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

What each source says

CVE List

MaxKB is an open-source AI assistant for enterprise. Versions 2.7.1 and below contain an incomplete fix for CVE-2025-53928, where a Remote Code Execution vulnerability still exists in the MCP node of the workflow engine. MaxKB only restricts the referencing code path (loading MCP config from the database). The else branch, responsible for loading mcp_servers directly from user-supplied JSON remains completely unpatched. Since mcp_source is an optional field (required=False), an attacker can simply omit it or set it to any non-referencing value to bypass the fix. By calling the workflow creation API directly with a crafted JSON payload, an attacker can inject a complete MCP node configuration with stdio transport, arbitrary command, and args — achieving RCE when the workflow is triggered via chat. This issue has been fixed in version 2.8.0.

NVD (es)

MaxKB es un asistente de IA de código abierto para empresas. Las versiones 2.7.1 e inferiores contienen una solución incompleta para CVE-2025-53928, donde una vulnerabilidad de ejecución remota de código aún existe en el nodo MCP del motor de flujo de trabajo. MaxKB solo restringe la ruta de código de referencia (cargando la configuración de MCP desde la base de datos). La rama else, responsable de cargar mcp_servers directamente desde JSON proporcionado por el usuario, permanece completamente sin parchear. Dado que mcp_source es un campo opcional (required=False), un atacante puede simplemente omitirlo o establecerlo en cualquier valor no referencial para eludir la solución. Al llamar directamente a la API de creación de flujo de trabajo con una carga útil JSON manipulada, un atacante puede inyectar una configuración completa del nodo MCP con transporte stdio, comando arbitrario y argumentos - logrando RCE cuando el flujo de trabajo se activa a través del chat. Este problema ha sido solucionado en la versión 2.8.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-39417 changed 2026-04-14CVE Terms of Use
NVDCVE-2026-39417 changed 2026-10-26Public domain