Docker Sandboxes Flaw Let Malicious Kits Steal API Keys
BleepingComputer reported on December 1, 2026, that a vulnerability in Docker Sandboxes, Docker's tool for running AI coding agents in isolated environments, could expose developers' API keys through malicious updates to third-party agent kits (BleepingComputer). The flaw is tracked as CVE-2026-136998.
Why It Matters
The bug sits at the center of how coding-agent infrastructure handles trust. A developer typically approves a kit's access to an AI service once, then keeps using it as updates roll in. This flaw let an updated kit quietly change where an already-approved credential gets sent, without forcing the developer to re-approve anything (techzine.eu). For anyone building, buying or running coding agents, that means a single compromised or malicious third-party kit update could siphon off API keys for model providers long after the original approval was granted — a supply-chain risk that doesn't require tricking the developer a second time.
How the Flaw Worked
The credential-handling issue was introduced in Docker Sandboxes version 0.43.0 (Tenable). Once a developer approved a kit's access to an AI service, a subsequent kit update could redirect the credential's destination to an attacker-controlled server, bypassing the need for renewed consent (diffvibe.com). The vulnerability was discovered and reported to Docker by Peyton Kennedy, a security researcher at Endor Labs, who demonstrated the exploit using a fictitious Anthropic API key to show how a leak would occur without exposing any real credentials (Endor Labs).
Who Was Affected
Services reported as affected by the credential-exfiltration path include Anthropic, Copilot, Cursor, Devin, Droid, GitHub, Google, Groq, Mistral, Nebius, OpenAI, OpenRouter and xAI (agenticfeed.io). The breadth of that list reflects how many coding-agent workflows route API keys through Docker Sandboxes' credential-approval system.
The Fix
Docker released a patched version, 0.55.0, on November 30, 2026, closing the credential-redirection path (SC World). Security researchers have since published guidance on detecting and blocking malicious agent-kit updates that attempt similar credential-hijacking behavior (securityarsenal.com).


