Skip to content
Docker Sandboxes Flaw Could Let Malicious AI Agents Steal OpenAI, Claude, and GitHub Keys

Docker Sandboxes Flaw Could Let Malicious AI Agents Steal OpenAI, Claude, and GitHub Keys

Cybersecuritynews •Abinaya • December 1, 2026

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!

The full story

This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.

Docker Sandboxes flaw CVE-2026-136998 let malicious AI agent kits redirect real API keys Endor Labs reports CVE-2026-136998, a flaw in Docker Sandboxes that could let a third-party AI agent kit send a developer's real API key for Anthropic, OpenAI, or GitHub to an attacker-controlled server. The developer approves a kit once, and a later kit update can redirect the credential without a new prompt, warning, or log entry recording that a key was sent. The researcher attributes the flaw to Docker recording approvals by service name rather than by the specific kit version reviewed, and to the host proxy not enforcing approved destinations when attaching credentials. Endor Labs confirmed the behavior using a dummy Anthropic key; the other 12 built-in services sharing the same code path were not tested individually, and no theft of real credentials is documented in the disclosure. Because sbx secret set stores credentials globally by default, a redirected key could be used across every sandbox on the machine, with API usage billed to the victim and GitHub tokens potentially granting repository write access. Endor Labs reported the issue to Docker on September 21, and the researcher rated it 8.2 (High) under CVSS 3.1 and 6.9 (Medium) under CVSS 4.0. Docker fixed the issue in Docker Sandboxes v0.55.0, released November 30, 2026, which enforces approved destinations separately for API keys and OAuth credentials and requires HTTPS for endpoints receiving host-managed credentials. Developers are advised to upgrade, review third-party kit credential approvals, and rotate any credentials that may have been exposed. 3 sources 68

Extracted Entities

Companies (2)

Platforms (1)