Skip to content
Brief Security & Trust ·

Docker Sandboxes flaw could let a kit update redirect developers' API keys

Endor Labs showed that one approval of a third-party kit could be reused after an update, in a test with a dummy key.

In brief
  • Endor Labs showed that an updated third-party kit could send a developer's API key to a server it chose, using a dummy key. Docker fixed the flaw in v0.55.0.
  • Docker recorded the approved domains but never checked them. It looked only for an approval under the service name.

Endor Labs said on November 30, 2026 that Docker Sandboxes, which runs AI coding agents in isolated virtual machines, had a flaw, tracked as CVE-2026-136998. Once a developer had okayed a third-party kit (a packaged agent setup), a later update to it could send the real API key to the attacker's server, with no prompt. Docker fixed it in v0.55.0, released that day.

The agent inside the sandbox sends a placeholder, and a proxy on the host swaps in the real key. The kit names the domains that get it. Docker recorded the approved domains but never checked them. At request time it only looked for an approval row under the service name, and it did not tie the approval to the kit reviewed. So version 1 could name api.anthropic.com and version 2 an attacker's host, with no new prompt. Endor Labs tested only a dummy Anthropic key on a local test server. Twelve other services share the code path but were not tested.

One approval became a standing permission. Endor Labs says keys are stored globally by default, so the key at risk is the one every sandbox on the machine uses. A stolen AI key means billed usage, and a GitHub token can grant write access. Leaders can ask which third-party kits teams approved, which keys are global, and who reviews kit updates.

A WebPulse Brief: a short report of an important event, written by the WebPulse Newsroom with AI assistance and checked against the reporting below. When there is more to explain, we follow up with a full story. How we use AI.

Reporting: Endor Labs.