Docker Sandboxes flaw could hand developers' AI API keys to a malicious agent-kit update
Docker reuses a past credential approval without checking where a key is being sent. Its policy log then records the leak as an ordinary permitted request.

Evidence: Independent reports. Security stories run only with a named disclosure or independent reporting behind them.
A vulnerability in Docker Sandboxes could leak developers' API keys to an attacker who distributes a malicious update to a third-party agent kit, BleepingComputer and The Hacker News report. Docker Sandboxes is a tool for running AI coding agents in isolated environments. The flaw, tracked as CVE-2026-136998, was found by Endor Labs researcher Payton Kennedy, who demonstrated it with a dummy Anthropic key and reported it to Docker. When a developer approves a kit, Docker records which domains may receive the key. On later runs, however, it checks only whether the developer approved the AI service. If an updated kit points to a server the attacker controls, Docker's proxy sends the real API key without prompting the developer. Endor Labs says the policy log records the connection as allowed and "says nothing about a credential being injected into it," so "an operator reviewing logs afterwards sees an ordinary permitted request." The issue affects developers who rely on sandboxing to contain third-party agent tooling. It shows that credential brokering for AI agents can become a supply-chain exposure even when the agent itself is isolated. Users of Docker Sandboxes should check Docker's guidance for their version and review which third-party kits they have approved.