A Docker Sandboxes flaw could send approved AI API keys to attacker-controlled servers through malicious updates to third-party agent kits. Docker addressed it in version 0.55.0.
A vulnerability in Docker Sandboxes, a tool for running AI coding agents in isolated environments, could expose developers’ API keys when third-party agent kits received malicious updates.
The flaw reused credential approvals without rechecking the approved destination. If an updated kit redirected a request to an attacker-controlled server, Docker’s proxy could send the real API key without asking for approval again. The policy log could still show the request as an ordinary permitted connection and not indicate that a credential had been injected.
Endor Labs researcher Payton Kennedy discovered the issue, tracked as CVE-2026-136998, and demonstrated it with a dummy Anthropic key. According to Kennedy, the vulnerable credential-handling code affects 13 built-in services, including Anthropic, Copilot, Cursor, Devin, Droid, GitHub, Google, Groq, Mistral, Nebius, OpenAI, OpenRouter and xAI.
Docker released a fix in Docker Sandboxes 0.55.0 on November 30. The update separates approved destinations for API keys and OAuth credentials and treats bindings without approved destinations as missing. Users are advised to upgrade, review previous approvals for third-party kits and rotate potentially exposed keys if suspicious destination or configuration changes occurred.