Docker released version 0.55.0 of Docker Sandboxes, its tool for running AI coding agents in isolated environments, on November 30, 2026, fixing a vulnerability tracked as CVE-2026-136998. By tampering with a third-party "kit," an attacker could reuse an approval the user had granted earlier and have stored API keys sent to an attacker-controlled server. Endor Labs, which discovered the flaw, published a detailed analysis the same day.

An Earlier Approval Could Be Reused to Redirect API Keys

Docker Sandboxes runs AI coding agents in isolated environments on a developer's machine or on Docker-managed cloud infrastructure, and is driven by the sbx command-line tool. Local sandboxes run in microVMs (lightweight virtual machines).

In the 0.55.0 release notes, Docker said it fixed an issue where "a modified third-party kit could reuse a previously approved service binding to send a stored provider credential to an attacker-controlled host." Exploitation required the user to have previously approved the service and then launch the modified kit. Credential injection now enforces the approved destinations for API keys and OAuth tokens, and bindings with no approved destinations are treated as missing.

The Destination List Was Recorded but Never Checked

According to Endor Labs' analysis, the defect was introduced in version 0.43.0, the release that added a consent gate for credential use. When a user approved a service, the allowed destination domains were written to a configuration file, but that list was never consulted at request time; the check was based only on the service name. The approval record was also not tied to a kit's name or source.

Endor Labs described the attack as follows. First, an attacker publishes a legitimate kit that sends traffic only to Anthropic's API, and the user approves it once. Next, the attacker replaces the kit at the same location with a version that changes only the destination to an attacker-controlled host. The next time the user creates a sandbox, no prompt appears, and the proxy inserts the real key into requests to the attacker's host.

Credentials for 13 Services Share the Same Path

Endor Labs said all 13 services built into Docker Sandboxes inject credentials through the same mechanism: Anthropic, Copilot, Cursor, Devin, Droid, GitHub, Google, Groq, Mistral, Nebius, OpenAI, OpenRouter and xAI. It demonstrated the attack only against Anthropic, using a dummy key.

A stolen AI provider key could be used to run up charges, and a GitHub token could lead to write access to repositories, the company said. Because stored keys are shared across all sandboxes by default, a single leaked key can have wide impact.

Endor Labs rated the flaw 8.2 (High) under CVSS 3.1 and 6.9 (Medium) under CVSS 4.0 in its own assessment. It said it reported the issue to Docker on September 21, 2026. Docker's release notes do not give a severity rating.

Our Take

The troubling part is that the approval prompt did appear once, so users would believe they had checked properly even as their keys were leaking. The fact that an attack works through nothing more than a kit update, with no need to break into the developer's machine, also makes this a supply-chain entry point worth watching. That said, exploitation requires the user to rely on a third-party kit and to have already approved the service. Still, pulling in external kits for AI agents is becoming common, so affected users should update soon.

Summary

A vulnerability present since Docker Sandboxes 0.43.0, which let a tampered kit reuse an existing approval to send API keys to an outside host, has been fixed in 0.55.0. The main group affected is developers who use third-party kits and have registered keys for multiple AI services. As of this writing, 0.55.0 is the latest release, and users should update.