Docker Sandboxes flaw let a third-party AI agent kit, approved once, later send your real Anthropic, OpenAI or GitHub key to another server; update to 0.55.0 and review the kits you approved (CVE-2026-136998)
Docker Sandboxes runs AI coding agents in isolated virtual machines and promises your API keys never enter them. Endor Labs found that a third-party agent kit you approved once could ship an update that redirected your real key to a host of its choosing, with no new prompt and nothing in the logs. Docker fixed it in v0.55.0 on 30 November 2026. No attacks have been reported. What to update, what to review and when to rotate keys.
How urgent
Plan this week
Who is affected
Developers using Docker Sandboxes (the sbx CLI and sandboxd) from v0.43.0, the release that added the credential consent prompt, up to versions before 0.55.0, who have approved credentials for a third-party agent kit. Built-in agents on their own are not the issue
What to do
Update Docker Sandboxes to v0.55.0 or later; review and remove credential approvals you gave to third-party kits; prefer kits pinned to a fixed commit or a reviewed local copy; if a kit you approved has changed since, rotate the affected AI provider and GitHub keys
Published 1 Dec 2026 · Sources last checked 1 Dec 2026No. 149 / 168
Watch the short video
The video loads from YouTube (privacy-enhanced mode) only when you press play.
What happened
Docker Sandboxes runs AI coding agents inside small isolated virtual machines. Its main promise: your API keys never enter the sandboxSandbox A fenced-off area where a program runs with limited access, so if it misbehaves it cannot touch the rest of the system. Tap again to open the glossary. You store a key on your computer, the agent sends requests with a placeholder, and a proxy on your computer swaps in the real key on the way out, only for the destinations that were approved.
On 30 November 2026 Endor Labs researcher Peyton Kennedy published CVE-2026-136998. The same day Docker shipped the fix in Docker Sandboxes v0.55.0, and its release notes list it under security fixes.
How the trick worked
- Someone publishes a third-party agent kit (a packaged agent setup) that asks to use your Anthropic key only at api.anthropic.com.
- You read an honest prompt and approve it once.
- The kit author ships a new version at the same tag or branch. The only change is the destination: now a server they control.
- Docker Sandboxes remembered your approval by service name ("anthropic"), not by kit or destination. So there was no new prompt, and the proxy sent your real key to the new server. The logs showed an allowed connection and nothing about a key.
Endor Labs says the same path applies to all thirteen built-in services (it demonstrated it with a dummy Anthropic key on its own machine). Keys are stored globally by default, so the redirected key is the one every sandbox on the machine uses: AI usage billed to you, or a GitHub token that can write to your repositories.
What to do
- Update Docker Sandboxes to v0.55.0 or later.
- Review the approvals you gave to third-party kits and remove the ones you do not need. Each one was a standing yes for whatever that kit serves next.
- Pin kits to a fixed commit, or keep a reviewed copy in a local folder, instead of a tag or branch that can change.
- If a kit you approved changed since you approved it, rotate the affected AI provider and GitHub keys and check their usage.
What we could not confirm
No attacks using this flaw have been reported. We did not test it ourselves; the details come from the researcher's report, and Docker's release notes confirm the fix. Endor Labs sells security services.
Related
Glossary: API key, sandbox, secretSecret (API key, token, password) Any piece of text that proves to a service that you are allowed in, such as an API key, a database password or an access token. Tap again to open the glossary, supply chainSupply chain attack An attack that reaches you through something you already trust and install, such as a code package, a tool or a provider. Tap again to open the glossary. See also our free keys-in-your-code check.
Keep reading
More stories on the same topic or from the same area.
- AWS fixes five flaws in the engine behind Amazon Q Developer's IDE plugins: a crafted project could make the AI agent run commands, and approved MCP servers could be changed without a new prompt; update and restart your IDE (CVE-2026-137931 to CVE-2026-137935)Plan this week 1 Dec 2026
- Researchers caught attackers stealing AI prompts from three model-hosting providers, and "zero data retention" was not always honored: keep secrets out of prompts and choose your providers yourselfAct now 22 Nov 2026
- OpenAI says its AI agents got out of a sandbox and broke into Hugging Face: the case file, and five checks for anyone running agentsGood to know 12 Nov 2026
Comments
No account needed. Add a nickname if you like, or leave it empty to comment anonymously. Comments are reviewed before they appear. Links are not allowed.
We store your comment, your nickname and a scrambled form of your connection that we use only to limit spam. We do not store your IP address or set cookies. Cloudflare Turnstile checks that you are not a bot.
Sources and verification
- Endor Labs (Peyton Kennedy), CVE-2026-136998: Docker Sandboxes vulnerability lets malicious AI agent kits steal developers' API keys (30 Nov 2026, researcher report; read 1 Dec 2026) (opens in a new tab)
- Docker, Docker Sandboxes release notes, v0.55.0 (30 Nov 2026, official; read 1 Dec 2026) (opens in a new tab)
- The Hacker News, Docker Sandboxes flaw lets malicious AI agent kit updates steal developers' API keys (1 Dec 2026, press report; read 1 Dec 2026) (opens in a new tab)
We use primary sources first and say when we rely on a news report. Dates are the day we last checked each source.
Spotted a mistake? Email [email protected] and we will correct it and note the change.