Docker has addressed a significant vulnerability in its Docker Sandboxes that allowed malicious AI agents to potentially exploit developer API keys. This security flaw, known as CVE-2026-136998, posed a risk to credentials associated with services like OpenAI, Claude, and GitHub.
Vulnerability Details and Response
Tracked as CVE-2026-136998, the vulnerability enabled unauthorized reuse of credential approvals without notifying developers. Endor Labs, which reported the issue on September 21, confirmed that Docker has resolved the problem as of version 0.55.0, released on November 30, 2026.
The flaw originated in version 0.43.0, which introduced a feature requiring developers to approve credentials for third-party kits. Rated 8.2 (High) under CVSS 3.1, the issue was deemed critical, prompting a swift response from Docker.
Impact on Developer Environments
Docker Sandboxes are designed to run coding agents such as Claude Code and Codex within isolated virtual machines. However, this vulnerability allowed an agent kit to access previously approved credentials without further consent from the developer. This could potentially enable unauthorized access to sensitive keys.
Endor Labs verified the flaw using a dummy Anthropic key, demonstrating that credentials could be sent to unintended destinations without logging the activity adequately. Although no real credentials were reported stolen, the risk was significant enough to warrant immediate action.
Recommendations for Developers
Developers using Docker Sandboxes are advised to update to version 0.55.0 or later and review any existing credential approvals. If unexpected changes to approved kits are detected, it is recommended to rotate affected keys and monitor provider usage and GitHub activities closely.
To minimize risks, limit the exposure of credentials to only those sandboxes that require them, and use fixed versions of third-party kits instead of versions that can change unexpectedly. This approach can help prevent unauthorized access and ensure a more secure development environment.
While this incident is distinct from previous Docker Sandboxes workspace escape issues, it underscores the importance of maintaining stringent security protocols in the face of evolving AI and cyber threats.
