HudHud Tech — Tech & AI news platform
Wednesday, 2 December 2026
Breaking
Cybersecurity

Docker Sandboxes Vulnerability Exposes API Keys to Attackers

2 December 2026 2 min read هدهد تك | Hudhud Tech

A vulnerability in Docker Sandboxes, a tool for running AI coding agents in isolated environments, could expose developers’ API keys to attackers distributing malicious updates to third-party agent kits.

The flaw arises from Docker Sandboxes’ reuse of credential approvals and insufficient checks. When a developer approves a kit, Docker records which domains may receive the key. However, in subsequent runs, it only verifies whether the developer approved the AI service.

If an updated kit redirects the destination to a server controlled by an attacker, Docker’s proxy will send the actual API key without prompting the developer.

Furthermore, the policy log indicates that the connection was allowed without disclosing that Docker transmitted the developer’s API key with the request. According to application security company Endor Labs, “The second ‘sbx create’ shows no prompt. ‘sbx policy log’ records the connection to the canary host as allowed and says nothing about a credential being injected into it.”

The vulnerability, tracked as CVE-2026-136998, was identified by Endor Labs researcher Payton Kennedy, who demonstrated it using a dummy Anthropic key. The researcher reported the issue to Docker, which released a fix in version 0.55.0 on November 30.

This latest Docker Sandbox release ensures that kit credential injection adheres to the destinations approved separately for API keys and OAuth in credential bindings, treating bindings without approved destinations as missing.

According to Kennedy, CVE-2026-136998 affects 13 built-in services that utilize the vulnerable credential-handling code, including Anthropic, Copilot, Cursor, Devin, Droid, GitHub, Google, Groq, Mistral, Nebius, OpenAI, OpenRouter, and xAI.

A compromised AI provider key could lead to charges on the victim’s account, while a GitHub token could allow access to repositories if it falls within its scope. Kennedy noted that the problematic code was introduced in Docker Sandboxes version 0.43.0.

Users are advised to upgrade to Docker Sandboxes 0.55.0 and review any credential approvals previously granted to third-party kits. If there are any suspicious changes in configuration or destination on those kits, it is recommended to rotate the potentially exposed key as a precaution.

 

Source: BleepingComputer

What do you think of this story?

Share this story: