Skip to content
Docker Sandboxes flaw could send AI API keys to attackers via kit updates

Docker Sandboxes flaw could send AI API keys to attackers via kit updates

Mlq.Ai • December 1, 2026

CVE-2026-136998 let an updated third-party kit send injected API keys to an attacker-controlled server without prompting the developer [1] .

Keys for 13 built-in services were exposed, including Anthropic, OpenAI, GitHub, Google, Cursor, Mistral and xAI [1] .

The bug was introduced in Docker Sandboxes 0.43.0 and fixed in 0.55.0 on Nov. 30; users should upgrade, review kit approvals and rotate exposed keys [1] .

A flaw in Docker Sandboxes, Docker's isolated environment for running AI coding agents, could have let a malicious update to a third-party kit steal a developer's API keys, BleepingComputer reported on Dec. 1 [1] . Docker fixed the bug, tracked as CVE-2026-136998, in version 0.55.0, released on Nov. 30 [1] .

Payton Kennedy of Endor Labs found the issue, tested it with a dummy Anthropic key and reported it to Docker [1] .

When a developer approves a third-party kit, Docker records which domains may receive the API key. On later runs, however, it checked only whether the AI service itself had been approved [1] . If an updated kit redirected the key to an attacker's server, Docker's proxy injected the real key without asking again, and the policy log showed only an allowed connection with no mention of the credential injection [1] .

Credentials for 13 built-in services were at risk: Anthropic, Copilot, Cursor, Devin, Droid, GitHub, Google, Groq, Mistral, Nebius, OpenAI, OpenRouter and xAI [1] . A stolen AI provider key could run up charges on the victim's account, and a GitHub token could expose repositories within its scope, according to the report [1] .

The faulty code arrived in version 0.43.0. In 0.55.0, credential injection respects destinations approved separately for API keys and OAuth, and bindings with no approved destinations are treated as missing [1] . Users are advised to upgrade, review credential approvals already granted to third-party kits and rotate any key that may have been exposed if they saw suspicious configuration or destination changes [1] . BleepingComputer's report did not include a statement from Docker.

Stolen developer keys have become a common target. Security firm CloudSEK said last month that an AI-automated campaign it calls React2Keys stole more than 50,000 credentials across 400 organizations ( our report ).

This article was produced by MLQ.ai's AI newsroom and checked against primary sources such as company filings, official releases and court documents. Reports from a single outlet are attributed. Editor: Peter Foy . How we work · Spotted an error? Tell us .

Extracted Entities