Vulnerabilities · Data leaks · Agents

Docker Sandboxes flaw let malicious kit updates silently exfiltrate AI API keys

A credential-handling bug tracked as CVE-2026-136998 allowed updated agent kits to redirect real API keys to attacker-controlled servers.

Abstract illustration of a vault inside nested protective shells with a hidden exit path leading outward to a dark server shape
Data card from our listings.

A vulnerability in Docker Sandboxes, a tool designed to run AI coding agents inside isolated environments, could allow an attacker to steal developers' API keys by pushing a malicious update to a previously approved third-party agent kit, BleepingComputer and The Hacker News reported on December 1.

According to BleepingComputer, the flaw stems from how Docker Sandboxes reuses credential approvals and fails to perform critical destination checks. When a developer initially approves a kit, Docker records which domains are permitted to receive a credential. On later runs, however, the system only verifies whether the developer approved the relevant AI service, not whether the destination remains the same.

How the attack works

If an attacker updates a kit to redirect traffic to a server they control, Docker's proxy will transmit the real API key without issuing any new prompt to the developer, BleepingComputer reported. Making matters worse, the policy log records the connection as permitted without disclosing that a credential was sent along with the request, meaning an operator reviewing logs afterward would see what appears to be a routine allowed request.

Application security firm Endor Labs discovered the bug, tracked as CVE-2026-136998. BleepingComputer identified the researcher as Payton Kennedy, who used a dummy Anthropic key to demonstrate the concept. According to the outlet, the faulty code was introduced in Docker Sandboxes version 0.43.0.

BleepingComputer reported that CVE-2026-136998 affects 13 built-in services sharing the vulnerable credential-handling code, among them Anthropic, OpenAI, GitHub, Google, Groq, Mistral, and several others. The Hacker News noted that exposed credentials could include keys for Anthropic, OpenAI, or GitHub, depending on what a developer had previously approved.

Scope and remediation

The risk extends beyond data exposure. BleepingComputer noted that a stolen AI provider key could result in charges to the victim's account, while a compromised GitHub token could grant access to source code repositories within its permission scope.

Docker pushed a fix in version 0.55.0, released November 30, according to BleepingComputer. The updated release revises how credential injection handles destination approvals, ensuring that separately authorized destinations are respected and that bindings lacking approved destinations are treated as absent. BleepingComputer advised users to upgrade to version 0.55.0 and to rotate any keys previously granted to third-party kits that show suspicious configuration or destination changes.

More from the newsroom