MaxKB: 13 CVEs including a prompt-injectable agent shell tool that ran commands without approval, root code execution via injected AWS Bedrock credentials, two tool-sandbox escapes and cross-workspace data access (CVE-2026-64870, CVE-2026-77516 to 79919)
MaxKB, the open-source enterprise AI assistant from the 1Panel team, published a batch of advisories on GitHub on 2–3 September 2026 (NVD: 21 September), plus an earlier SSRF from July. The worst: assistants using a tool, MCP tool, skill or sub-application got a shell 'execute' tool that didn't require human approval, so untrusted chat or ingested content could run commands (CVE-2026-77521, fixed 2.10.5-lts); and workspace members could inject control characters into AWS Bedrock credentials written to /root/.aws/credentials, adding a credential_process profile that ran their command as root (CVE-2026-79916, fixed 2.10.5-lts). Two more let tool code escape the LD_PRELOAD sandbox (fixed 2.10.6-lts). The remaining nine are authorization and SSRF bugs that let a normal workspace user read or change other users' chats, documents, models or tools; several advisories list no patched version.
What it is
CVE-2026-77521 (GHSA-f36j-f34j-h3rx, critical): SandboxShellBackend exposed an execute shell tool not excluded from the agent and not in interrupt_on, so no approval was needed; source deployments with MAXKB_SANDBOX disabled ran commands as the app user, and the root container's gosu wrapper allowed shell metacharacters. Fixed 2.10.5-lts.
CVE-2026-79916 (GHSA-2324-7xjr-9qxg, critical): control characters in Bedrock access_key_id/secret_access_key let a workspace member append an AWS profile with credential_process, executed as root by botocore on a later model validation. Fixed 2.10.5-lts per NVD.
CVE-2026-79919 (GHSA-6h35-c779-4v37) and CVE-2026-79918 (GHSA-9mh9-v949-fwqh): function-library/tool code could bypass the LD_PRELOAD sandbox (ctypes.CDLL from an import-hook callback plus unhooked dlsym(RTLD_NEXT); and the unhooked fexecve). Affected <= 2.10.5-lts, fixed 2.10.6-lts.
CVE-2026-77516: tools denied to a member could still be bound via tool_ids/skill_tool_ids/mcp_tool_ids and run through agent or workflow dispatch, exposing their decrypted init_params credentials (2.0.0–2.9.2).
CVE-2026-77519: expired, non-permanent application API keys still worked on /chat/api/mcp (tools/list, tools/call). CVE-2026-77522 and CVE-2026-64870: authenticated full-read SSRF via the web-document crawler and via UpdateStoreTool download URLs.
IDORs: CVE-2026-77517 (documents/paragraphs in another knowledge base), CVE-2026-77520 (invoking another user's application via leaked application IDs), CVE-2026-77523 (cross-workspace model parameter form read/write), CVE-2026-77525 (reading other applications' chat records), CVE-2026-79917 (publishing another user's conversation as a public share link).
Per NVD and the GitHub advisories, CVE-2026-79917, 77525, 77523, 77522, 77520, 77519, 77517 and 77516 had no fixed version listed at publication, and CVE-2026-64870's fix was on the v2 branch but not yet released. MaxKB has since shipped 2.10.6-lts through 2.10.10-lts (23 November 2026); check the advisories for current fix status.
How to check
- Check your MaxKB version in the UI or image tag; anything below 2.10.5-lts is exposed to the two critical bugs, below 2.10.6-lts to the sandbox escapes.
- Review which assistants have tools, MCP tools, skills or sub-applications enabled and whether they read untrusted content.
- Check /root/.aws/credentials in the MaxKB container for unexpected profiles or credential_process lines.
- Audit workspace membership: most of the remaining bugs need only a normal authenticated workspace user.
How to fix
- Upgrade to the latest MaxKB 2.10.x LTS release (2.10.10-lts at the time of writing).
- Keep MAXKB_SANDBOX enabled and don't give agents that read untrusted content a shell tool.
- Limit workspace membership to trusted users, rotate API keys and model credentials stored in MaxKB, and block the server from reaching cloud metadata and internal services.
docker ps --format '{{.Image}}' | grep -i maxkb
# inspect stored AWS profiles inside the container
docker exec <maxkb-container> cat /root/.aws/credentials 2>/dev/null | grep -n credential_process Sources
- GitHub advisory GHSA-f36j-f34j-h3rx: Prompt-injectable agent can lead to command execution (CVE-2026-77521) ↗
- GitHub advisory GHSA-2324-7xjr-9qxg: AWS Bedrock model credential injection leads to RCE (CVE-2026-79916) ↗
- GitHub advisory GHSA-6h35-c779-4v37: function-library sandbox escape (CVE-2026-79919) ↗
- GitHub advisory GHSA-9mh9-v949-fwqh: sandbox escape via unhooked fexecve (CVE-2026-79918) ↗
- GitHub advisory GHSA-383v-fx78-pphm: missing per-tool authorization in agent/workflow dispatch (CVE-2026-77516) ↗
- GitHub advisory GHSA-r6g6-69fh-c39q: expired application API keys usable on /chat/api/mcp (CVE-2026-77519) ↗
- GitHub advisory GHSA-ffxw-frpx-8rww: SSRF via web-document import crawler (CVE-2026-77522) ↗
- GitHub advisory GHSA-7xxm-gqxv-ph3v: UpdateStoreTool fetches URLs without host validation (CVE-2026-64870) ↗
- GitHub advisory GHSA-58cm-c5jq-96vf: cross-knowledge IDOR (CVE-2026-77517) ↗
- GitHub advisory GHSA-4w4r-h4x8-mg7h: application ID leak lets workflows invoke another user's application (CVE-2026-77520) ↗
- GitHub advisory GHSA-g888-8cvh-9284: cross-workspace model parameter form write (CVE-2026-77523) ↗
- GitHub advisory GHSA-7fmh-98f2-2cfg: chat-record routes load records by global chat_id (CVE-2026-77525) ↗
- GitHub advisory GHSA-m8gr-554p-8r82: chat share-link endpoint missing owner check (CVE-2026-79917) ↗
- NVD: CVE-2026-77521 ↗
- NVD: CVE-2026-79916 ↗
- MaxKB releases ↗