Docker Sandboxes bug could leak AI API keys via malicious updates
Docker Sandboxes 0.55.0 patches CVE-2026-136998, a proxy flaw since 0.43.0 that could leak keys for 13 AI and GitHub services via malicious kit updates.
By Dillip Chowdary • Dec 02, 2026 • Source: BleepingComputer

At a glance
- Vulnerability
- CVE-2026-136998 in Docker Sandboxes
- Affected versions
- 0.43.0 through pre-0.55.0
- Patched version
- Docker Sandboxes 0.55.0 (Nov 30, 2026)
- Reporter
- Payton Kennedy, Endor Labs
- Built-in services
- 13 AI and GitHub integrations
- Logging gap
- sbx policy log omits injected keys
In this post
Docker shipped version 0.55.0 of Docker Sandboxes on November 30 to patch CVE-2026-136998, a vulnerability in its credential proxy that could expose developers' AI provider API keys and GitHub tokens through malicious updates to third-party agent kits, according to BleepingComputer's report.
Introduced in Docker Sandboxes version 0.43.0, the flaw affects 13 built-in services that share the vulnerable credential-handling code. This guide explains the credential-binding flaw disclosed by Endor Labs researcher Payton Kennedy, the silent log behavior, and the upgrade and key-rotation steps for engineering teams.
01Credential approvals and proxy injection
Docker Sandboxes runs AI coding agents inside isolated environments while proxying outbound API authentication on the developer's behalf. When a developer initially approves a third-party agent kit, Docker records the specific network domains permitted to receive that kit's credential.
On subsequent runs, however, the proxy did not re-verify that the outbound request still targeted an approved domain. Instead, Docker checked only whether the developer had previously approved the underlying AI service for that kit.
If a maintainer or attacker pushed an updated kit that pointed requests to an attacker-controlled server, Docker's proxy injected the real API key into the outbound traffic without prompting the developer again.
02Silent logs and the Endor Labs reproduction
Endor Labs researcher Payton Kennedy discovered CVE-2026-136998 and demonstrated the exploit path using a dummy Anthropic key against a canary host. Even when the malicious update redirected credentialed traffic, local diagnostics masked the leak.
Note: Endor Labs reported that running a second sbx create command showed no confirmation prompt, and sbx policy log recorded the canary connection as allowed without indicating that a credential was injected.
As Endor Labs noted in its disclosure, an operator reviewing sandbox policy logs after the fact would see only an ordinary permitted network request. That logging gap makes post-incident detection difficult in automated or unattended coding agent pipelines.
03Thirteen affected AI and developer services
Advertisement
Tech Pulse Daily
Get tomorrow's pulse first
Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.
According to Kennedy's analysis, CVE-2026-136998 spans 13 built-in services inside Docker Sandboxes that rely on the shared credential-handling implementation. Any developer running third-party kits bound to these providers is exposed on affected releases prior to 0.55.0.
| Service category | Affected built-in providers | Primary exposure risk |
|---|---|---|
| AI coding and model APIs | Anthropic, OpenAI, Google, Groq, Mistral, Nebius, OpenRouter, xAI | Unauthorized usage charges billed to victim accounts |
| Coding agents and tools | Copilot, Cursor, Devin, Droid | Exfiltrated provider credentials via kit updates |
| Source control | GitHub | Unauthorized repository access within token scopes |
A stolen model provider API key lets an attacker run inference billed directly to the victim's account. A leaked GitHub token carries broader risk, granting repository read or write access matching whatever scopes the developer authorized.
04The version 0.55.0 credential binding fix
After Kennedy reported the vulnerability to Docker, the project shipped a patch in Docker Sandboxes version 0.55.0 on November 30. The updated release changes how the proxy evaluates domain permissions during credential injection.
Docker Sandboxes 0.55.0 enforces that kit credential injection respects destinations approved separately for API keys and OAuth within credential bindings. Bindings that list no approved destinations are now treated as missing rather than falling back to service-level approval.
By splitting API key and OAuth destination checks and blocking unapproved domains, the patch closes the silent redirect path introduced in version 0.43.0.
05Upgrade steps and key rotation guidance
Security guidance following the disclosure focuses on updating the sandbox runtime and auditing past approvals before resuming third-party agent kits. Teams running Docker Sandboxes versions between 0.43.0 and 0.54.x should act immediately.
- Upgrade to version 0.55.0 Update Docker Sandboxes to the November 30 patched release across all developer workstations and CI runners.
- Audit granted kit approvals Review existing credential approvals and bindings previously assigned to third-party agent kits.
- Inspect configuration changes Check third-party kits for any unexpected configuration edits or altered destination domains.
- Rotate exposed credentials Rotate any AI provider API keys or GitHub tokens linked to suspicious kits out of an abundance of caution.
Promptly auditing credential bindings and rotating suspect tokens ensures that any silent redirect prior to upgrading cannot continue generating unauthorized API charges or repository access.
Frequently asked questions
What is CVE-2026-136998 in Docker Sandboxes?
CVE-2026-136998 is a credential-handling vulnerability introduced in Docker Sandboxes 0.43.0 where the proxy reused service approvals without re-checking destination domains on updated third-party kits, allowing real API keys to be sent to attacker-controlled servers.
Which services are affected by the Docker Sandboxes bug?
The flaw impacts 13 built-in services sharing the vulnerable code: Anthropic, Copilot, Cursor, Devin, Droid, GitHub, Google, Groq, Mistral, Nebius, OpenAI, OpenRouter, and xAI.
Does sbx policy log alert operators when a key is leaked?
No. Endor Labs found that the second sbx create triggers no prompt and sbx policy log records the connection as an allowed request without noting that a credential was injected.
How should developers fix CVE-2026-136998?
Developers should upgrade to Docker Sandboxes 0.55.0, review all credential approvals granted to third-party kits for unexpected destination changes, and rotate potentially exposed API keys or GitHub tokens.
Sources
Author
Dillip Chowdary
Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.
Related on Tech Bytes
Advertisement