CVE-2026-77521: MaxKB: Prompt-injectable agent can lead to command execution

Published Sep 21, 2026
·
Updated

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 interrupton, so human approval is not required. Untrusted chat or ingested content can therefore cause command execution; source deployments with MAXKBSANDBOX 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.

Affected Software

1 affected component
MaxKB<2.10.5-lts

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade MaxKB to a version that resolves this vulnerability.

    Fixed in 2.10.5-lts
  2. Compensating control

    Ensure MAXKB_SANDBOX is enabled (do not run with MAXKB_SANDBOX disabled) to prevent commands from executing directly as the application user.

Event History

Sep 21, 2026
CVE Published
via MITRE·08:45 PM
Data Sourced
via MITRE·08:45 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which MaxKB deployments are exposed to this issue?

MaxKB versions before 2.10.5-lts are affected when an assistant has a tool, MCP tool, skill, or sub-application that uses SandboxShellBackend. Source deployments with MAXKB_SANDBOX disabled are especially exposed because commands run directly as the application user.

2

What does an attacker need to exploit it?

An attacker needs a way to supply untrusted content to the affected assistant, such as through chat input or content that is ingested by MaxKB. No human approval is required before the exposed execute shell tool runs commands.

3

Are official container deployments affected differently?

Yes. The official root container used a string-based gosu wrapper that allowed shell metacharacters to execute outside the intended sandbox. This creates an additional path for command execution beyond the intended sandbox boundary.

4

What is the available remediation?

Upgrade MaxKB to version 2.10.5-lts, which fixes the issue. The provided data does not specify a workaround for deployments that cannot be upgraded immediately.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203