Docker Sandboxes Flaw Let Updated AI Agent Kits Redirect Developers’ API Keys

Summary
CVE-2026-136998 let updated third-party agent kits redirect injected API keys after one approval. Docker fixed the flaw in version 0.55.0; the researcher reported no attacks using it.
Key points
- The flaw affected Docker Sandboxes versions before 0.55.0 on macOS, Windows, and Linux.
- After a developer approved a kit’s credential request, a later kit update could redirect an injected API key to a different destination without another prompt.
- The researcher demonstrated the behavior using a dummy key and a local test server; no attacks using the flaw have been reported.
- Thirteen built-in integrations use the key-injection path, including Anthropic, OpenAI, GitHub, and Google.
- Docker says version 0.55.0 enforces approved destinations separately for API keys and OAuth, and treats bindings without approved destinations as missing.
- The research covers the local product; whether Docker Cloud Sandboxes shared the affected authorization logic has not been established.
Article Details
- Vulnerability Types
- Authorization flaw in validation of approved credential-injection destinations
- Severity
- Researcher-rated 8.2 High under CVSS 3.1, revised from 9.3 Critical; under CVSS 4.0, the researcher rated it 6.9 Medium and the vendor rated it 5.6 Medium.
- Affected Versions
- Docker Sandboxes 0.43.0 to versions before 0.55.0, on macOS, Windows, and Linux
- Exploitation Status
- not_reported
- Exploit Availability
- unknown
- Patch Status
- available
CVE
People
Vendors
AnthropicAfter one approval from the developer, a later update to that kit could send their real Anthropic, OpenAI, or GitHub key to a server the attacker controls, with no new prompt, Endor Labs researcher Peyton Kennedy found.DockerA flaw in Docker Sandboxes, which runs AI coding agents inside isolated virtual machines, meant a third-party agent kit could steal the API keys the product is designed to keep out of the agent's reach.GitHubone approval from the developer, a later update to that kit could send their real Anthropic, OpenAI, or GitHub key to a server the attacker controls, with no new prompt, Endor Labs researcher Peyton Kennedy found.GoogleThirteen built-in integrations share the key-injection path, including Anthropic, OpenAI, GitHub, and Google, and Kennedy tested one of them, Anthropic, with a dummy value.OpenAIAfter one approval from the developer, a later update to that kit could send their real Anthropic, OpenAI, or GitHub key to a server the attacker controls, with no new prompt, Endor Labs researcher Peyton Kennedy found.
