Docker Sandboxes Flaw Leaks API Keys Across 13 AI Services

Original title: 请升级:Docker 沙箱曝泄密漏洞,影响 OpenAI、GitHub 等 AI 服务
78AI Score

Docker Sandboxes carried a credential-authorization reuse flaw (CVE-2026-136998): after a developer approved a suite, the system checked only whether the AI service was approved, not the destination domain, so a malicious suite update could silently send real API keys to an attacker server while policy logs showed a routine allow. Introduced in 0.43.0 and affecting 13 built-in services including Anthropic, OpenAI, GitHub and Cursor, it was fixed in version 0.55.0 released November 30.

Full Report

IT之家 December 2 news, tech media BleepingComputer reported yesterday (December 1) that the Docker Sandboxes tool has a security vulnerability, tracked as CVE-2026-136998, where attackers can steal developers' API keys through malicious updates to third-party agent suites.

IT之家 note: Docker Sandboxes is an isolated runtime environment launched by Docker that can deploy independent micro virtual machines (microVMs) locally or in the cloud, thereby safely running AI coding tools such as Claude Code and Codex.

The vulnerability exposed this time was discovered by researcher Peyton Kennedy of the application security company Endor Labs, and stems from the way Docker Sandboxes reuses credential authorization and the absence of relevant critical verification.

Please upgrade: Docker Sandboxes exposed a credential leak vulnerability, affecting AI services such as OpenAI and GitHub

After a developer approves a suite, Docker records the domains allowed to receive keys. However, in subsequent runs, the system only checks whether the developer has approved the corresponding AI service and no longer verifies the specific target domain.

Once a suite update changes the target address to a server controlled by an attacker, Docker's proxy will send the real API key without prompting the developer. At the same time, the policy log will only show that the connection was allowed and will not state that the key was injected into the request. When administrators review the logs afterward, they will only see an ordinary allow record.

Kennedy said that 13 built-in services sharing the flawed code are affected, including Anthropic, Copilot, Cursor, Devin, Droid, GitHub, Google, Groq, Mistral, Nebius, OpenAI, OpenRouter, and xAI. The problematic code was introduced starting with version 0.43.0. Once a key is stolen, the victim's account may incur fraudulent charges; if GitHub token permissions allow it, attackers may also be able to access code repositories.

Researchers have reported the matter to Docker, and Docker fixed the issue in version 0.55.0 released on November 30. The new version requires that when suites inject credentials, they comply with the target addresses separately approved for API keys and OAuth in credential bindings, and treats bindings without an approved target address as missing.