Docker Sandboxes flaw let agent kit updates send developers' AI keys to attackers

Endor Labs found that an updated third-party agent kit could redirect real Anthropic, OpenAI or GitHub keys without a prompt; Docker fixed it in version 0.55.0.

2 Dec 2026

A flaw in Docker Sandboxes, a tool for running AI coding agents in isolated environments, let an attacker take developers' real API keys, Endor Labs disclosed. The bug, CVE-2026-136998, is rated high severity (CVSS 3.1 score 8.2). Docker fixed it in Docker Sandboxes v0.55.0, released on 30 November.

AI Programming Weekly covers stories like this, every Tuesday. Free.

Docker Sandboxes keeps keys on the host and adds them to requests through a proxy, so the agent never holds them. But when a developer approved a third-party agent kit, Docker remembered the approval by service name rather than by the destinations that were reviewed. A later kit update could point to a server the attacker controls, and the proxy would send the real key with no prompt and no record in the logs that a key was sent.

The bug was introduced in v0.43.0 and affects 13 built-in services that share the same code path, including Anthropic, OpenAI, GitHub, Google, Mistral, Cursor and xAI, BleepingComputer reports. Because keys are stored globally by default, a stolen key is the one every sandbox on the machine uses. Endor Labs researcher Payton Kennedy, who found an earlier Docker Sandboxes flaw, advises upgrading and reviewing credential approvals given to third-party kits.

In this story

Docker Endor Labs

Industry analysis

2025 Global Business Services Agenda: Gen AI Takes Center Stage

The Hackett Group

This industry analysis by The Hackett Group explores the transformative impact of generative artificial intelligence (Gen AI) on global business services (GBS) in 2025. The study highlights the shift from exploration to acceleration of Gen AI initiatives, with 89% of executives advancing these projects to improve customer satisfaction, innovate products, and reduce costs. The report also discusses the challenges and strategies for successful Gen AI adoption, emphasizing the need for a technology-enabled operating model and the importance of reskilling the workforce.

Read more
Free, six days a week

Daily AI Brief: the AI news that matters, in your inbox.