Skip to main content

Maxkb EUVDEUVD-2026-22162

| CVE-2026-39417 MEDIUM
Improper Input Validation (CWE-20)
2026-04-14 security-advisories@github.com
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate with low-privilege account
  2. Delivery
    Craft workflow JSON with inline mcp_servers config
  3. Exploit
    Omit mcp_source field to bypass validation
  4. Install
    Submit workflow creation API request
  5. C2
    Save malicious workflow
  6. Execute
    Trigger workflow via chat interaction
  7. Impact
    Execute arbitrary command in MCP node
  8. Step 8
    Achieve remote code execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Impact

This vulnerability presents moderate real-world risk despite the low CVSS score (4.6). CVSS factors reduce risk: authentication is required (PR:L), user interaction is mandatory (UI:R), attack complexity is high (AC:H), and impact is limited to confidentiality, integrity, and availability of a single user context (S:U, C:L/I:L/A:L). However, several signals indicate higher practical severity: (1) This is an incomplete fix for an existing RCE, demonstrating patch bypass and suggesting the vendor's validation logic may be fundamentally flawed; (2) The vulnerability requires only low privileges and a single user click to trigger, making it exploitable by compromised low-privilege accounts or social engineering; (3) The attack vector is the workflow API, a core functionality likely heavily used in enterprise deployments; (4) SSVC assessment: exploitation is demonstrated (incomplete fix scenario), impacts are high if the attacker aims for lateral movement or data exfiltration despite individual-context constraints, and the automatable component is high (API-driven). The CVSS score underestimates risk because it assumes a single-user impact model, but in practice, RCE in a chat-triggered workflow could enable data harvesting across conversations or lateral movement in multi-tenant scenarios. Priority should be elevated above the CVSS score alone suggests.

Exploit ScenarioDerived

A low-privilege user of MaxKB (or an attacker with compromised low-privilege credentials) crafts a workflow creation request to the API with a JSON payload containing an MCP node where mcp_source is omitted and mcp_servers includes a stdio-based command (e.g., invoking a reverse shell or data exfiltration script). The attacker saves this workflow and triggers it via the chat interface by asking a question that invokes the workflow. The MaxKB service instantiates the MCP node, parses the user-supplied command definition, and executes it without validation, achieving remote code execution in the service context. If MaxKB runs with elevated privileges or in a shared container, the attacker may pivot to other services or exfiltrate sensitive data from the workflow database.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 14, 2026

Remote code execution in MaxKB workflow engine (versions 2.7.1 and below) allows authenticated users to bypass an incomplete CVE-2025-53928 fix by injecting arbitrary MCP node configurations through the workflow creation API. An attacker with low-privilege credentials can omit the mcp_source field to trigger the unpatched else branch, inject stdio transport with arbitrary commands, and achieve RCE when the workflow is executed via chat interaction. This represents an incomplete remediation of a prior vulnerability-the patch restricted one code path but left an alternative execution path fully exposed.

RemediationAI

Upgrade MaxKB immediately to version 2.8.0 or later, which includes the complete fix for this vulnerability (confirmed via GitHub commit 50e96002ee5dca34c68d3d9333b64ea358c92304). If immediate upgrade is not possible, disable the workflow engine feature entirely or restrict API access to the workflow creation endpoint (/api/workflows or equivalent) to trusted administrators only via network ACLs or reverse proxy rules. Additionally, audit all existing workflows created in versions 2.7.1 and below for suspicious MCP node configurations with stdio transport and arbitrary command definitions. The vendor's security advisory is available at https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-pw52-326g-r5xj and the fix commit at https://github.com/1Panel-dev/MaxKB/commit/50e96002ee5dca34c68d3d9333b64ea358c92304.

Affected VersionsENISA

MaxKB < 2.8.0

Affected Packages

euvd maxkb fix: 2.8.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MaxKB's workflow engine processes MCP (Model Context Protocol) node configurations that can execute arbitrary system commands via stdio transport. The original CVE-2025-53928 attempted to restrict RCE by validating the mcp_source field when loading MCP server configurations from the database. However, the workflow creation API accepts user-supplied JSON that can define mcp_servers directly inline. The vulnerability stems from improper input validation (CWE-20: Improper Input Validation) in the conditional logic: the patched branch validates database-sourced configs, but the else branch-which handles direct JSON payloads-remains completely unvalidated. Because mcp_source is optional (required=False in the API schema), an attacker can craft a workflow JSON with mcp_servers containing arbitrary command definitions that bypass validation entirely. When the workflow is triggered, the MCP node instantiates these commands and executes them with the privileges of the MaxKB service process.

Know when Maxkb gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

4
CVSS changed
Oct 26, 2026 - 22:24 NVD
4.6 (MEDIUM) 5.5 (MEDIUM)
Patch released
Apr 20, 2026 - 17:36 nvd
Patch available
Patch available
Apr 16, 2026 - 05:29 EUVD
2.8.0
CVE Published
Apr 14, 2026 - 00:16 nvd
MEDIUM 4.6

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 81% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Maxkb

View all
CVE-2025-48950 HIGH POC
8.8 Jun 03

MaxKB prior to version 1.10.8-lts contains an incomplete sandbox implementation that only blacklists binary execution in

CVE-2026-77521 CRITICAL
10.0 Sep 21

Command injection in MaxKB before 2.10.5-lts allows unauthenticated remote attackers to execute arbitrary shell commands

CVE-2025-66419 CRITICAL
10.0 Dec 11

Sandbox escape and privilege escalation in MaxKB 2.3.1 and earlier allow an attacker who can submit or trigger custom Py

CVE-2026-56779 MEDIUM POC
5.3 Jun 25

Server-side request forgery in MaxKB before 2.10.0 allows any authenticated user holding the default workspace USER role

CVE-2026-79916 CRITICAL
9.1 Sep 21

Authenticated workspace members on MaxKB deployments prior to 2.10.5-lts can escalate to root-level command execution by

CVE-2026-54149 HIGH
8.8 Jul 10

OS command injection in MaxKB (1Panel-dev's open-source enterprise AI assistant) before 2.10.0-lts lets an authenticated

CVE-2025-64511 HIGH
8.8 Nov 13

Server-side request forgery in MaxKB (open-source AI assistant from 1Panel-dev) allows an authenticated user with permis

CVE-2025-66446 HIGH
7.5 Dec 11

Privilege escalation in MaxKB 2.3.1 and earlier allows an authenticated, low-privileged user to overwrite the built-in d

CVE-2026-44847 HIGH
7.5 May 26

Authentication bypass in MaxKB (1Panel-dev) versions prior to 2.9.0 allows remote unauthenticated attackers to invoke we

CVE-2026-77523 HIGH
7.4 Sep 21

Cross-workspace read and modification of model parameter defaults in MaxKB 2.10.3-lts and earlier is possible for an aut

CVE-2026-39420 HIGH
7.4 Apr 14

MaxKB versions 2.7.1 and below allow authenticated users with tool execution privileges to bypass the LD_PRELOAD-based s

CVE-2026-129998 HIGH
7.3 Nov 20

MaxKB releases prior to 2.10.7-lts evaluate attacker-supplied JavaScript stored in a custom tool's Init Param definition

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy