Docker Sandboxes keeps your model API keys on the host and lets an agent inside the sandbox use them through a proxy. CVE-2026-136998 is a flaw in how that proxy decided where a key could be sent. Docker fixed it in Docker Sandboxes 0.55.0, released on 30 November.
What was wrong
When you create a sandbox with a third-party kit, the sbx command shows each credential the kit asks for and the domains it will be sent to. Approving it writes a binding to ~/.config/sbx/credentials.yaml. Docker’s CVE text says versions from 0.43.0 up to 0.55.0 recorded those approved destinations but did not enforce them. A kit that was later modified could reuse the existing service binding while changing its injection destination, and the host proxy would send a stored provider credential to a host the attacker controls.
Docker states the precondition plainly: the operator must have previously approved the service and then launch the modified kit. Endor Labs, whose researcher Peyton Kennedy reported the bug on 21 September, describes the effect in plainer terms. In its account, a kit collects one honest approval, then ships an update that sends a real Anthropic, OpenAI or GitHub key elsewhere, with no new prompt. Endor says the approval was remembered by service name, not by the kit you reviewed.
How bad is it
The two sources rate it differently. Docker’s CNA gives it CVSS 4.0 score 5.6, Medium. Endor Labs rates it 8.2 High on CVSS 3.1 and 6.9 on CVSS 4.0. Neither mentions exploitation in the wild, and we found no report of it.
Endor tested the attack on v0.43.0 on macOS with a dummy Anthropic value. It lists 13 built-in services (Anthropic, Copilot, Cursor, Devin, Droid, GitHub, Google, Groq, Mistral, Nebius, OpenAI, OpenRouter and xAI) and says the other 12 share the same code path but were not demonstrated one by one. sbx secret set stores a credential globally by default, so a redirected key would be the one every sandbox on the machine uses.
What to do
- Update to Docker Sandboxes 0.55.0 or later. In the fixed version, credential injection enforces the approved destinations, and a binding with no approved destinations is treated as missing.
- Rotate keys if you approved a third-party kit that later changed. Endor also suggests pinning a kit to a fixed commit or a reviewed local copy, and reading its inject domains on every
sbx create. - Scope keys to a sandbox. A key set with
sbx secret set --sandboxlimits what a redirected binding can reach. - Save your settings before you upgrade. Version 0.55.0 stops reading several
DOCKER_SANDBOXES_*environment variables, including the kit signature and allowed-source settings. Usesbx settings set, for examplesbx settings set kit.requireSignature true. Without a saved setting or an admin policy, signatures are optional and local kits are allowed.
Why this matters
The sandbox itself held: Endor says raw keys never entered the microVM. The failure was in the consent step, which remembered a service name but not the kit or its destinations. That matters for any agent setup where you approve something once and it updates later. It is the same trust problem that a credential proxy such as Infisical’s Agent Vault tries to contain. Treat each kit update like a dependency update: a key that a poisoned package can steal is the same key a changed kit can redirect. If your CI or team images use third-party kits, check the version and your key scopes today.

The Campfire
CommentsThanks. Your comment is waiting for the desk. Once it is approved it appears here within about a minute.
Add a comment