Secure Bulletin Navigating the cyber sea with knowledge
Home > Articolo > Docker Patches Flaw That Let Rogue AI Agent Add-Ons Quietly Siphon Claude, OpenAI and GitHub Credentials
Docker Patches Flaw That Let Rogue AI Agent Add-Ons Quietly Siphon Claude, OpenAI and GitHub Credentials
Read Time:3 Minute, 28 Second

Docker has shipped a fix for a vulnerability that could have let a malicious or compromised AI agent add-on quietly siphon off a developer’s API keys and access tokens — including credentials for Anthropic’s Claude, OpenAI’s models, and GitHub — without ever asking for permission again. The flaw, now tracked as CVE-2026-136998, was identified by researchers at Endor Labs and reported to Docker on September 21. The fix landed in Docker Sandboxes version 0.55.0 on November 30.

Docker Sandboxes is designed to let coding agents such as Claude Code and Codex run inside small, isolated virtual machines, keeping them separated from a developer’s main computer. The idea is straightforward: an agent kit — a packaged bundle defining how a given agent runs and what it is allowed to touch — gets its own sealed environment, and a proxy running on the host handles authentication to outside services on the agent’s behalf. In theory, the agent itself never sees the raw key; it simply makes requests, and the proxy fills in the credentials for approved destinations.

Where the Protection Broke Down

The vulnerability undermined that model at a specific point: how Docker remembered a developer’s consent. When a third-party kit first requested access to a credential, Docker correctly prompted the developer to approve it. The problem, according to Endor Labs, is that this approval was recorded at the level of the service as a whole rather than tied to the specific kit version or destination that had been approved. That meant a later update to the same kit could silently request the credential again — and send it somewhere new — without triggering a fresh prompt, because Docker treated the earlier approval as still valid.

Endor Labs says it confirmed the behavior using a dummy Anthropic API key in a test environment. The sandbox’s policy log showed the connection as permitted, but it gave no indication that an actual credential had been transmitted — meaning a developer reviewing their own logs for suspicious activity would have had little reason to suspect anything was wrong. The researchers identified 12 other built-in services using the same underlying credential-handling design, including OpenAI and GitHub, though they say they did not individually test each one for the same weakness.

Why the Scope Matters

The risk is compounded by how Docker Sandboxes stores credentials: globally, rather than scoped to an individual sandbox. That design means a single leaked key is not necessarily confined to the sandbox that leaked it — it could potentially be reused across multiple sandboxes on the same machine, enable unauthorized use of a developer’s paid API quota, or, in the case of a GitHub token with write access, allow an attacker to modify source code in repositories the developer can reach.

It’s worth noting what this flaw is not. Endor Labs’ disclosure does not document any confirmed theft of real-world credentials in the wild, and the underlying sandbox virtual machine itself remained properly isolated throughout — this is distinct from previously reported Docker Sandboxes escape bugs that broke out of the VM entirely. It’s also a different scenario from earlier research into Claude Code credential theft, which started from an attacker who already possessed stolen secrets. Here, the failure sat entirely within Docker’s own proxy, which disclosed a credential it had already been told, in principle, to protect.

What Developers Should Do Now

  • Upgrade to Docker Sandboxes version 0.55.0 or later immediately
  • Review existing credential approvals granted to any third-party agent kits in use
  • If an approved kit has changed unexpectedly since being granted access, treat its associated credentials as potentially exposed
  • Rotate affected API keys and tokens, and review provider usage logs and GitHub account activity for anything unusual
  • Limit which credentials are made available to which sandboxes, rather than granting broad access by default
  • Pin third-party kits to a specific, reviewed version rather than a branch or tag that can change without notice

The episode is a reminder that as coding agents are given more autonomy and more credentials to act on a developer’s behalf, the plumbing meant to keep those credentials contained needs the same scrutiny as the agents themselves.

Share: Twitter  |  Facebook  |  LinkedIn
Join the discussion

This is a blog in the Fediverse: you can find this article everywhere with @blog@securebulletin.com and every comment/answer will appear here.

If you want to comment on Docker Patches Flaw That Let Rogue AI Agent Add-Ons Quietly Siphon Claude, OpenAI and GitHub Credentials, use the discussion on Forum.

>> forum community

Comments

Leave a Reply