← All advisories

CVE-2026-77521criticalCode execution2026-09-21

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.

01.

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.

02.

How to check

  1. 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.
  2. Review which assistants have tools, MCP tools, skills or sub-applications enabled and whether they read untrusted content.
  3. Check /root/.aws/credentials in the MaxKB container for unexpected profiles or credential_process lines.
  4. Audit workspace membership: most of the remaining bugs need only a normal authenticated workspace user.
03.

How to fix

  1. Upgrade to the latest MaxKB 2.10.x LTS release (2.10.10-lts at the time of writing).
  2. Keep MAXKB_SANDBOX enabled and don't give agents that read untrusted content a shell tool.
  3. 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
04.

Sources

Related on VibeVulns
The weekly email

One email a week. Only what changed.

Every new security hole in AI coding tools, MCP servers, app builders and the stacks they generate (Next.js, Supabase, Node, PHP), each with how to check your app and the fix. No roundups of things you already read.

Free, one email a week. Read the latest issue first if you like. One-click unsubscribe in every email. We never sell or share addresses.