4 Sources
[1]
Docker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys
A flaw in Docker Sandboxes, which runs AI coding agents inside isolated virtual machines, meant a third-party agent kit could steal the API keys the product is designed to keep out of the agent's reach. After one approval from the developer, a later update to that kit could send their real
[2]
Docker Sandboxes bug could leak AI API keys via malicious updates
A vulnerability in Docker Sandboxes, a tool for running AI coding agents in isolated environments, could leak developers' API keys to an attacker distributing malicious updates to third-party agent kits. The flaw stems from how Docker Sandboxes reuses credential approvals and the lack of critical
[3]
Docker flaw lets Anthropic, OpenAI, GitHub keys slip past sandboxes
Vulnerable versions' credential consent mechanisms could allow malicious third-party AI agent kits to bypass approval and expose dev secrets to attackers. endif; ?> Docker has patched a high-severity vulnerability in Docker Sandboxes that could allow malicious third-party AI agent kits to steal
[4]
Docker fixes flaw that could leak AI API keys through malicious updates
Docker Sandboxes fixed a vulnerability that could expose developers' API keys when attackers distribute malicious updates to third-party AI agent kits. The flaw, tracked as CVE-2026-136998, affected the handling of previously approved credentials. Docker released version 0.55.0 on November 30 to
Share
Copy Link
Docker has patched a flaw in Docker Sandboxes that let a one-time approval of a third-party agent kit carry over to a later version of that kit, which could then quietly redirect the developer's real API keys to an attacker's server
1
2
. Docker Sandboxes is the company's product for running AI coding agents inside isolated virtual machines, built so raw API keys stay on the host and get swapped into outgoing requests by a proxy1
3
.
Source: Hacker News
Since version 0.43.0, released September 15, the approval system recorded which domains a developer had approved but never enforced them when a request was made. The proxy checked only that a binding existed for the service name, then sent the real key to whichever domains the kit version in use named
1
3
. "The domains the operator approved play no part in that decision," per Peyton Kennedy of Endor Labs, who demonstrated the flaw1
.The attack required no access to the developer's machine, only a prior approval and a changed destination in the kit's next version. The approval even survived deleting the sandbox
1
3
. Kennedy demonstrated it in a lab with a dummy Anthropic key and a local test server; no real-world attacks have been reported1
2
4
.Thirteen built-in services share the same injection path for keys, among them Anthropic, OpenAI, GitHub and Google, but only the Anthropic path was actually tested
1
2
3
4
. Detection through the product's own auditing would not have helped. Endor Labs' writeup notes, "An operator reviewing logs afterwards sees an ordinary permitted request"2
. The policy log recorded the redirected connection as allowed and never mentioned that a credential had been injected1
2
4
.A stolen provider key could run up charges on the victim's account. A GitHub token could grant write access to repositories, since a typical token's scopes allow it
1
2
4
.Related Stories
Docker fixed the flaw in version 0.55.0, released November 30. Per the CVE record Docker published, the flaw covers every version from 0.43.0 to just before the fix, on macOS, Windows and Linux
1
. Per the disclosure, anyone still on an older version remains exposed until they upgrade1
.
Source: BleepingComputer
How serious it is depends on who is scoring. Kennedy rated the flaw 8.2, High, on version 3.1 of the Common Vulnerability Scoring System, revised down from an initial 9.3 after correcting the attack vector to local. On version 4.0 of that system his score is 6.9 and Docker's own is 5.6, both Medium
1
.Endor Labs recommends upgrading, then reviewing and removing third-party kit bindings
1
2
3
4
. It also advises pinning kits to fixed commits, scoping secrets per sandbox, and rotating keys behind a third-party kit that changed while vulnerable1
2
3
4
. The steps are a precaution for machines still on older versions and for anyone who granted credentials to third-party kits while vulnerable1
.This is Kennedy's second Docker Sandboxes bug within a month; both were reported on September 21, and the earlier one, a file-copy flaw, was patched on November 3
1
. In each case the virtual machine isolation itself held. The failure was in what a developer's approval got attached to1
.The 0.55.0 release notes confirm the destination enforcement but do not mention two changes Kennedy asked Docker for: tying each approval to a kit's content digest, and logging every key injection
1
. Cloud sandboxes, which use a separate secret store, were not tested, so whether they shared the flaw is undetermined1
. As Kennedy put it, "a prompt is only as strong as what its answer is bound to. If the approval is not tied to the artifact that was inspected, the next update inherits it"1
.Summarized by
Navi
[2]
18 Sept 2026•Technology

15 Apr 2026•Technology

30 Mar 2026•Technology
