Back Cybersecuritynews Docker Sandboxes Flaw Could Let Malicious AI Agents Steal OpenAI, Claude, and GitHub Keys
Docker fixed a flaw in Docker Sandboxes that could let a malicious third-party AI agent kit steal a developer’s Anthropic API key for Claude, OpenAI API key, or GitHub token.
The flaw, tracked as CVE-2026-136998, allowed a kit update to reuse an earlier credential approval without asking the developer again. The fix shipped in v0.55.0 on November 30, 2026, according to Endor Labs.
Endor Labs reported the issue to Docker on September 21. The flaw was introduced in v0.43.0, the release that added a consent prompt for third-party kits requesting credentials. The researcher rated it 8.2 (High) under CVSS 3.1 and 6.9 (Medium) under CVSS 4.0.
Docker Sandboxes run coding agents such as Claude Code and Codex in small virtual machines that separate them from the developer’s computer.
An agent kit is a packaged configuration that defines how an agent runs and what it can access. A proxy on the host handles authentication for approved services, so the agent can make requests without seeing the actual key.
Docker Flaw Exposes API Keys
Docker remembered developer approval at the service level, allowing later kit versions to send credentials to new destinations without triggering another approval prompt.
Endor Labs confirmed the flaw using a dummy Anthropic key. The policy log showed an allowed connection but did not record that a credential had been sent.
The researcher identified 12 other built-in services, including OpenAI and GitHub, that use the same credential handling process, but did not test them separately. The disclosure did not document theft of real credentials.
Docker Sandboxes stores credentials globally, so a stolen key could affect multiple sandboxes , enable unauthorized API usage, or let attackers modify GitHub repositories with write-access tokens.
Developers should upgrade to Docker Sandboxes v0.55.0 or later and review existing credential approvals for third-party kits. If an approved kit changed unexpectedly, rotate the affected keys and check provider usage and GitHub activity for anything unusual.
Limit credentials to the sandboxes that need them, and use a fixed, reviewed version of a third-party kit rather than a branch or tag that can change.
The finding differs from the Docker Sandboxes workspace escape flaws previously covered by CybersecurityNews. Here, the virtual machine stayed isolated.
It also differs from earlier Claude Code API credential research , which started with already stolen credentials. In this case, Docker’s own proxy could disclose the key because the software failed to enforce the limits the developer had approved.
What Are Leading Organizations Doing AI and Cyber Risks? Find Out. View Details!
