Docker Sandboxes has a vulnerability: attackers can steal developers' API credentials via a malicious AI agent suite update
Docker沙箱存在漏洞,攻擊者可利用惡意AI代理套件更新竊取開發者API憑證
Docker has patched vulnerability CVE-2026-136998 in its sandbox product Docker Sandboxes. Endor Labs researchers found that a third-party agent suite could exploit an incomplete credential authorization check to send developers' API keys to an attacker-controlled server. The product runs AI coding agents in isolated virtual machines, with credentials kept on the host and injected by a proxy server; the system records the services and domains for which the user approved credential access, but subsequent credential access requests do not confirm the destination, so an attacker can first publish a normal suite to induce the user to approve it, then update the suite configuration to change the injection destination to a malicious server, and the user receives no new authorization prompt when launching the updated suite again. The researchers reproduced the attack with an Anthropic test key and a local server, and no actual exploitation cases have been found so far. Docker Sandboxes versions after 0.43.0 are all affected, covering macOS, Windows and Linux, and it may also affect the credential injection flows of 13 built-in services such as OpenAI and GitHub.
The original source reconstructs the exploitation steps by which a suite update bypasses re-authorization; teams running coding agents with Docker Sandboxes can use this to confirm whether an upgrade is needed.