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 package | Versions | Reported by |
|---|---|---|
| 1Panel-dev MaxKB | < 2.8.0 | CVE List |
| maxkb maxkb | before 2.8.0 | NVD |
All scores
| GitHub_M | 4.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-39417 changed 2026-04-14 | CVE Terms of Use |
| NVD | CVE-2026-39417 changed 2026-10-26 | Public domain |