Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious instructions in chat or ingested content
-
DeliveryAssistant feeds content to LLM with shell tool enabled
-
ExploitLLM invokes execute tool with no approval gate
-
ExecutionShell command runs as app user, escapes sandbox via gosu wrapper
-
ImpactRemote code execution / host compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an assistant configured with at least one tool, MCP tool, skill, or sub-application, which activates the SandboxShellBackend and thereby exposes the un-gated |
| Impact | This is a genuine top-priority issue, not a high-CVSS-but-low-risk one. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H = 10.0) reflects a full remote code-execution primitive with scope change, and the CWE-78 command-injection root cause is corroborated by the vendor security advisory (GHSA-f36j-f34j-h3rx) and the fixing commit 594f50f2. The core weakness is a design/authorization gap: the SandboxShellBackend exposes an |
| Exploit ScenarioDerived | An attacker plants malicious instructions in content the MaxKB assistant will process - a chat message, an uploaded document, or a web/RAG source that gets ingested. Because the assistant is configured with a tool, MCP tool, skill, or sub-application, the SandboxShellBackend's |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 21, 2026
Command injection in MaxKB before 2.10.5-lts allows unauthenticated remote attackers to execute arbitrary shell commands when an assistant is configured with a tool, MCP tool, skill, or sub-application. Untrusted chat messages or ingested documents can coerce the LLM into invoking the un-gated execute shell tool, which lacks human approval and is exposed by the SandboxShellBackend. Both source deployments with MAXKB_SANDBOX disabled and the official root container's vulnerable gosu wrapper permit command execution outside the intended sandbox; no public exploit code or confirmed active exploitation was identified at time of analysis. A vendor patch is available in version 2.10.5-lts.
RemediationAI
Upgrade to MaxKB version 2.10.5-lts, which includes the vendor-released patch (commit 594f50f2ea80a502d1c955371ba0438b277c30ea). This is the primary and recommended fix; see the vendor advisory at https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-f36j-f34j-h3rx. If immediate upgrade is not possible, mitigate by disabling all tools, MCP tools, skills, and sub-applications on any assistant that processes untrusted content-this removes the attack vector but eliminates the assistant's extended functionality. Additionally, avoid feeding untrusted documents or chat input to assistants with such features enabled. For source deployments, ensure MAXKB_SANDBOX is enabled, though this does not fully address the official root container's gosu wrapper bypass; running the container as a non-root user reduces the impact of command execution but does not eliminate the vulnerability. No public exploit has been identified at time of analysis, but the high impact warrants prompt patching.
Affected VersionsENISA
Affected Packages
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
The vulnerability is CWE-78 OS Command Injection in MaxKB's SandboxShellBackend (apps/application/flow/backend/sandbox_shell.py), a component that executes shell commands for AI assistant tools. Prior to version 2.10.5-lts, the backend exposes an execute shell tool without excluding it from the assistant's tool set, and omits execute from the interrupt_on list, meaning human approval is never required. An assistant must be configured with at least one tool, MCP tool, skill, or sub-application to activate this backend; the attack vector is untrusted content the assistant processes, such as chat input or RAG documents. The fix commit (594f50f2ea80a502d1c955371ba0438b277c30ea) adds shell command parsing and splitting logic to prevent metacharacter injection. CPE cpe:2.3:a:1panel-dev:maxkb:*:*:*:*:*:*:*:* confirms all versions before 2.10.5-lts are affected. The assessed CVSS vector is CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H, reflecting high attack complexity due to the need to reliably coerce the LLM via prompt injection, but critical impact with scope change and high confidentiality, integrity, and availability losses.
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
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Untrusted-content trigger keeps PR:N/UI:N and sandbox escape yields S:C with full C/I/A:H, but LLM-coercion reliability plus the required tool configuration justify AC:H over the vendor's AC:L.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
MaxKB is an open-source AI assistant for enterprise. Prior to version 2.10.5-lts, assistants with a tool, MCP tool, skill, or sub-application use SandboxShellBackend, which exposes an execute shell tool without excluding it and omits execute from interrupt_on, so human approval is not required. Untrusted chat or ingested content can therefore cause command execution; source deployments with MAXKB_SANDBOX disabled run commands directly as the application user, while the official root container's string-based gosu wrapper allowed shell metacharacters to execute outside the intended sandbox. This issue is fixed in version 2.10.5-lts.
Articles & Coverage 1
Technical POC Analysis
CWE-78 OS command injection.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
MaxKB, an open-source LLM knowledge-base and assistant platform, carries a maximum-severity command injection flaw (CVSS 10.0) that allows an attacker to execute arbitrary shell commands on the servers hosting an affected deployment. Because MaxKB assistants are typically wired into internal documents, tool integrations, and downstream business applications, a successful attack could lead to full host compromise, exposure of sensitive enterprise data, and disruption of AI-driven services. Every MaxKB instance below version 2.10.5-lts should be treated as a critical exposure until upgraded.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
MaxKB prior to version 1.10.8-lts contains an incomplete sandbox implementation that only blacklists binary execution in
Sandbox escape and privilege escalation in MaxKB 2.3.1 and earlier allow an attacker who can submit or trigger custom Py
Server-side request forgery in MaxKB before 2.10.0 allows any authenticated user holding the default workspace USER role
Authenticated workspace members on MaxKB deployments prior to 2.10.5-lts can escalate to root-level command execution by
Server-side request forgery in MaxKB (open-source AI assistant from 1Panel-dev) allows an authenticated user with permis
OS command injection in MaxKB (1Panel-dev's open-source enterprise AI assistant) before 2.10.0-lts lets an authenticated
Privilege escalation in MaxKB 2.3.1 and earlier allows an authenticated, low-privileged user to overwrite the built-in d
Authentication bypass in MaxKB (1Panel-dev) versions prior to 2.9.0 allows remote unauthenticated attackers to invoke we
Cross-workspace read and modification of model parameter defaults in MaxKB 2.10.3-lts and earlier is possible for an aut
Stored Cross-Site Scripting (XSS) via Eval Injection in MaxKB's Markdown rendering engine allows authenticated users to
Stored Cross-Site Scripting (XSS) in MaxKB 2.7.1 and below allows authenticated users to inject malicious JavaScript thr
MaxKB, an open-source enterprise AI assistant by 1Panel-dev, stores user passwords as unsalted MD5 hashes, exposing all
EUVD-2026-84161
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB