A Docker Sandboxes bug could expose a developer’s API key after an update to a third-party kit for an AI coding agent. Docker released version 0.55.0 on November 30 to fix the flaw, which affected credentials for 13 built-in services, including Anthropic, OpenAI and GitHub.
A kit update could change who received a key
Developers use Docker Sandboxes to run AI coding agents in isolated environments. An agent may still need a credential to contact an outside service. When a developer first approved a kit, Docker recorded which destinations had permission to receive that credential.
The problem arose when Docker reused the approval. On later runs, it checked whether the developer had approved the service but failed to enforce the original restriction on destinations. As a result, a malicious kit update could cause Docker to send a key to a server the developer had never approved. The developer would receive no new prompt.
Security researcher Payton Kennedy demonstrated the Docker Sandboxes bug with a dummy Anthropic key. The test also revealed a gap in the policy log. Docker recorded the outgoing connection as permitted, but the entry gave no indication that the request carried a credential. A developer reviewing that entry afterward could therefore miss the exposure.
What version 0.55.0 changes for developers
Kennedy traced the flaw, tracked as CVE-2026-136998, to version 0.43.0. All 13 affected services shared the same credential-handling code, but the potential consequences depended on the credential. Someone using a stolen AI provider key could run up charges on the developer’s account. A GitHub token could also give its holder access to private repositories if the token’s permissions allowed it.
Version 0.55.0 checks the approved destinations before sending a credential and respects separate approvals for API keys and OAuth credentials. If an approval lists no destination, Docker now treats it as missing.
Developers using an affected version should upgrade and review the permissions they granted to third-party kits. If a kit’s configuration or destination changed unexpectedly, they should rotate the potentially exposed credential. The update fixes how Docker handles future requests, but an existing key can remain usable by anyone who already has a copy.


0 responses to “Docker Sandboxes bug put developers’ API keys at risk”