1Panel-dev MaxKB
MaxKB: Prompt-injectable agent can lead to command execution
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.10.5-lts
Fixed in 2.10.5-lts
Mitigation
Upgrade MaxKB to 2.10.5-lts or later.
References
- Vendor advisory github.com/1Panel-dev/MaxKB/security/advisorie…
- Patch github.com/1Panel-dev/MaxKB/commit/594f50f2ea8…
- Release notes github.com/1Panel-dev/MaxKB/releases/tag/v2.10…
Timeline
Days relative to CVE publicationFirst public PoC 24 days after publication; not in CISA KEV. First PoC: InertFluid/cve-2026-77521-lab (created 15 Oct 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| InertFluid/cve-2026-77521-lab | 15 Oct 2026 +24 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /models
- Content-Type
application/json- Ports
- 11434
- PoC User-Agent
curl/8.7.1- Seen in
- 1 repo: InertFluid/cve-2026-77521-lab
- Evidence
- InertFluid/cve-2026-77521-lab/poc/03_real_llm.py:114
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/models(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [11434] (msg:"GG PoC-Monitor CVE-2026-77521 1Panel-dev MaxKB exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/models"; reference:url,poc.griffinguard.io/cve/CVE-2026-77521; classtype:web-application-attack; sid:9794654; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: 1Panel-dev MaxKB exploit attempt (CVE-2026-77521)
id: gg-pocmon-cve-2026-77521-9794654
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-77521. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-77521
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/models'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.77521