Docker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers API Keys

Executive Briefing
“A security flaw in Docker Sandboxes allowed malicious updates to AI coding kits to redirect...”
Key Takeaways
- 1.Discovered by Endor Labs researcher Peyton Kennedy and tracked as CVE-2026-136998, the flaw allowed updated agent kits to bypass validation.
- 2.The consent system recorded approved services and domains but failed to verify them at request time, enabling updated kits to send real keys to arbitrary domains.
- 3.Docker fixed the vulnerability in version 0.55.0 by enforcing separate destination checks for API keys and OAuth credentials.
A security flaw in Docker Sandboxes allowed malicious updates to AI coding kits to redirect sensitive API keys to attacker-controlled servers without prompting developers again, prompting an immediate patch from Docker in version 0.55.0.
Mechanism of the Credential Theft Flaw
Discovered by Endor Labs researcher Peyton Kennedy and tracked as CVE-2026-136998, the flaw allowed updated agent kits to bypass validation.
The consent system recorded approved services and domains but failed to verify them at request time, enabling updated kits to send real keys to arbitrary domains.
Docker fixed the vulnerability in version 0.55.0 by enforcing separate destination checks for API keys and OAuth credentials.
Technical Analysis and Scope
The incident demonstrates the architectural risk of decoupling user consent bindings from exact artifact contents, letting subsequent updates inherit previous approvals.
Thirteen built-in integrations sharing the key-injection path across macOS, Windows, and Linux were exposed to potential credential exposure prior to patching.
Remediation Steps and Unknowns
No active exploitation in the wild has been documented prior to the disclosure and patch.
It remains unconfirmed whether cloud-based sandboxes ever shared the affected authorization logic due to their separate secret storage design.







