Trending: On-device modelsSearch
iHeartGeek
iTECH

Docker Sandboxes bug could leak AI API keys via malicious updates

A flaw in Docker Sandboxes could redirect approved credentials to a malicious kit destination. Version 0.55.0 strengthens the vulnerable credential checks.

Docker Sandboxes presenters explain how the product lets AI agents run in YOLO mode safely

A flaw in Docker Sandboxes could let a malicious update send an AI service key or other approved credential to an attacker-controlled destination without asking the developer again. The issue, tracked as CVE-2026-136998, affects the sandbox tool used to run coding agents in isolated environments. 1

The bug sits in Docker’s credential-approval flow. When a developer approves a kit, Docker records which domains are allowed to receive a credential. On later runs, however, the sandbox checked that the developer had approved the AI service but failed to re-check the destination associated with the updated kit. A hostile update could therefore redirect a request while the proxy still injected the real key.

Endor Labs researcher Payton Kennedy demonstrated the behaviour with a dummy Anthropic key. The report also says the policy log could record the connection as an ordinary permitted request, without making clear that a credential had been sent to the destination. That creates a particularly unpleasant failure mode: a review of the logs might not immediately reveal the exposure.

The affected code was introduced in Docker Sandboxes 0.43.0. According to the report, the vulnerable handling covered 13 built-in services, including Anthropic, Copilot, Cursor, Devin, GitHub, Google, Groq, Mistral, Nebius, OpenAI, OpenRouter and xAI. A stolen provider key could create charges, while a GitHub token could expose repositories within its permissions. 1

Docker has released a fix

Docker’s official release notes list version 0.55.0, released on November 30, as strengthening credential and workspace protections. The release also says credential handling now separates approved destinations for API keys and OAuth bindings, while bindings without approved destinations are treated as missing. 2

Docker’s Sandboxes team describes the product as a way to run coding agents inside isolated environments. Its official demonstration shows the tool’s intended use: letting an agent work with fewer interactive permission prompts while the sandbox provides the boundary around the workload. 3

Users running Docker Sandboxes should upgrade to 0.55.0, review approvals previously granted to third-party kits and inspect any unexpected destination changes. If a kit may have received a credential under the vulnerable behaviour, rotating that key is the cautious next step. The practical risk depends on what access the credential had, but an apparently normal policy log should not be treated as proof that no secret was exposed.

Our opinion

This is exactly the kind of security bug that makes “isolated” a dangerous word when it is treated as a complete guarantee. Docker Sandboxes can reduce the blast radius of an untrusted coding agent, but the boundary is only as good as the rules governing what crosses it. Re-checking the service while failing to re-check the destination is a small implementation gap with a very large consequence: the user’s approval becomes reusable permission for code they have not actually reviewed.

The fix is reassuring, but the upgrade advice should be treated as a credential audit rather than a routine version bump. If Sandboxes is being used for unattended agents, previously approved kits deserve the same scrutiny as any other software supply-chain dependency.