Description
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.
Published: 2026-09-21
Score: 10 Critical
EPSS: 1.0% Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

MaxKB, an open‑source AI assistant, had a flaw that allowed an attacker to inject prompts into the agent’s tool backend, causing the application to execute arbitrary shell commands. The missing human approval step and the omission of execute from interrupt_on let untrusted chat or ingested content be run as the MaxKB application user. Because the container’s string‑based gosu wrapper permits shell metacharacters to escape the intended sandbox, an attacker could run commands with the privileges of the running application, potentially compromising confidentiality, integrity, and availability of the host.

Affected Systems

The affected product is 1Panel‑dev’s MaxKB. All versions prior to 2.10.5‑lts are vulnerable. The issue remains present in deployments that run without the MAXKB_SANDBOX setting enabled or that rely on the vulnerable version of the code.

Risk and Exploitability

The flaw is scored at CVSS 10 and is not listed in the CISA KEV catalog. The EPSS score of 1% indicates a low but non-zero exploitation probability. The described attack path—injecting malicious content into the agent’s prompt—does not require elevated privileges and can be triggered by any user interacting with the AI assistant. Consequently, exploitation is possible for any environment that accepts untrusted input, making it a severe remote code execution vulnerability.

Generated by OpenCVE AI on September 22, 2026 at 15:24 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MaxKB to version 2.10.5‑lts or any later release where the issue is resolved.
  • Ensure the environment variable MAXKB_SANDBOX is set to enable the sandbox, so that shell executions are properly isolated.
  • If an immediate upgrade is not possible, disable the MCP tool or block ingestion of untrusted chat content until the patch is applied.

Generated by OpenCVE AI on September 22, 2026 at 15:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 22 Sep 2026 19:45:00 +0000

Type Values Removed Values Added
First Time appeared 1panel
1panel maxkb
Vendors & Products 1panel
1panel maxkb

Tue, 22 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 21 Sep 2026 21:00:00 +0000

Type Values Removed Values Added
Description 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.
Title MaxKB: Prompt-injectable agent can lead to command execution
Weaknesses CWE-250
CWE-749
CWE-78
References
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-22T13:32:19.198Z

Reserved: 2026-08-20T20:23:02.507Z

Link: CVE-2026-77521

cve-icon Vulnrichment

Updated: 2026-09-22T13:32:15.112Z

cve-icon NVD

Status : Deferred

Published: 2026-09-21T21:17:10.943

Modified: 2026-09-22T14:17:15.343

Link: CVE-2026-77521

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-22T19:17:02Z

Weaknesses
  • CWE-250

    Execution with Unnecessary Privileges

  • CWE-749

    Exposed Dangerous Method or Function

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')