Plan this weekAI agents

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

  1. Someone publishes a third-party agent kit (a packaged agent setup) that asks to use your Anthropic key only at api.anthropic.com.
  2. You read an honest prompt and approve it once.
  3. The kit author ships a new version at the same tag or branch. The only change is the destination: now a server they control.
  4. 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

  1. Update Docker Sandboxes to v0.55.0 or later.
  2. 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.
  3. Pin kits to a fixed commit, or keep a reviewed copy in a local folder, instead of a tag or branch that can change.
  4. 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.

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.

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

    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.

    Newsletter · every Friday · free

    Get the weekly security briefing

    One email every Friday: what to act on now and what to plan this week, in plain words. The free one-page runbooks come in your welcome email. You confirm your address first.

    Subscribe for free

    Press / to search from any page