AI agent security · 2 Dec 2026
sbx) from v0.43.0 lets a later version of an already approved third-party agent kit send your real Anthropic, OpenAI or GitHub key to an attacker's server, with no new prompt.If your developers run AI coding agents in Docker Sandboxes with third-party agent kits, upgrade sbx to v0.55.0 or later now. Before that release, approving a kit once also approved every later version of it. A changed kit could therefore point the sandbox's credential proxy at an attacker's server and receive the real model-provider or GitHub key, with no prompt and no log entry. CVE-2026-136998 isn't known to be exploited, but the fix is quick and the keys are worth money.
Docker Sandboxes runs agents such as Claude Code, Codex or Gemini CLI in a microVM, so the agent never sees your real API keys. Keys are stored on the host with sbx secret set. The agent sends a placeholder, and a host-side proxy swaps in the real key for approved destinations. A kit declares which domains each key may go to, and since v0.43.0 sbx create shows those domains and asks for approval (Endor Labs).
Endor Labs researcher Peyton Kennedy found that the approval was saved with its domain list, but the list was never checked. At request time, the proxy only asked "is this service approved?" The approval wasn't tied to the kit's name, content or source either. So:
api.anthropic.com. You approve it.sbx create runs without a prompt, and the proxy hands the real key to the attacker.Keys are global by default, so the stolen key is the one every sandbox uses. A model-provider key means usage billed to you. A GitHub token often means write access to your repositories, which turns this into a supply-chain problem. All 13 built-in services share the same injection path; only Anthropic was tested. The sandbox isolation still held: the raw key never entered the VM. The host was simply told to send it somewhere else.
sbx to v0.55.0 or later on every developer machine that uses Docker Sandboxes.~/.config/sbx/credentials.yaml and approve again after reviewing each kit.--sandbox rather than global secrets, and use separate, spend-capped keys for agent work.The broader lesson is about governance more than Docker. Agent kits, MCP servers and plugins are code your developers install, and they control where credentials go. Treat them like dependencies: an approved list, pinned versions, review on update, and least-privilege keys. Our free AI policy generator covers approved tools, credentials and a request process for new tools, a good base to extend to agents. For DORA and NIS2, agent kits belong in the third-party and supply-chain register like any other component.
Versions from v0.43.0, the release that introduced the kit credential approval prompt, up to the fix in v0.55.0, released on 30 November 2026. Upgrade the sbx CLI to v0.55.0 or later.
No exploitation has been reported. The researcher demonstrated the attack with a dummy key against a local test server.
Only if a third-party agent kit you approved changed after approval, or you can't tell. In that case rotate the model-provider keys and GitHub tokens the sandbox could use and check their usage logs.
We set up agent sandboxing, key scoping and an approved-tooling process your developers can live with, documented for your DORA, NIS2 or PCI DSS auditor.
Request a quote →