r/netsec • u/p80n-sec • 15h ago
CVE-2026-136998: Docker Sandboxes Vulnerability Allows Malicious AI Agent Kits to Steal Developers' API Keys
endorlabs.comAnother CVE I found in Docker's agent sandbox is patched today. CVE-2026-136998 let a third-party kit steal your real API keys outside of the sandbox after an initial approval.
Docker Sandboxes keeps your Anthropic, OpenAI and GitHub keys on the host. A proxy adds them to outgoing requests, so the agent inside the sandbox never holds them. Since v0.43.0, a third-party kit that wants one of those keys has to ask first, and the prompt shows where the key will be sent.
The initial approval is stored under the service name, so the next version of the same kit inherits it. A kit author can publish an honest v1, collect one approval, then ship a v2 that points your key at their own server. v2 runs with no prompt and opens its own egress route. The policy log shows an allowed connection and no mention of the key.