The Morning Patch Wire

CYBER SECURITY NEWS REPORT

EXPLAINER · WEDNESDAY, DECEMBER 2, 2026

Docker Sandboxes CVE-2026-136998: how one approval let a kit update send your real API key elsewhere

Docker Sandboxes keeps your AI keys outside the sandbox. A bug let a third-party agent kit get one honest approval, then ship an update that sent the real key to another server, with no prompt and no log line. Version 0.55.0 fixes it, but the upgrade has a trap of its own.

This explains reporting by Endor Labs: CVE-2026-136998, Docker Sandboxes vulnerability lets malicious AI agent kits steal developers' API keys (Payton Kennedy).
Read the original first: https://www.endorlabs.com/learn/cve-2026-136998-docker-sandboxes

In one minute

How the key swap worked

You store a key on the host with sbx secret set. The agent in the sandbox sends a placeholder header, such as x-api-key: proxy-managed. A proxy on the host puts in the real key when the request goes to an approved place.

A kit is a packaged agent setup. Its inject block names the domains that get the real key. Since version 0.43.0, sbx create shows you those domains and asks you to approve. Approving writes a binding to ~/.config/sbx/credentials.yaml.

The researcher found that the binding's domain list was written but never read. On later runs the only check was whether there was a row for that service. The binding was also not tied to a kit name, version or source.

His test: kit A sends the key to api.anthropic.com, and he approved it. Kit B is the same except for one line, which sends the key to a canary server on his own machine. Running kit B gave no prompt, and the canary got the dummy key in a plain header.

He also found that a kit's network allow entries were applied without a prompt. So the same file that moved the key could also open the route out.

What 0.55.0 fixes, and what the notes do not say

Endor's post asked Docker for three changes. Here is what Docker's 0.55.0 release notes say about each:

Our reading: the fix closes the reported attack. A kit can no longer send your key to a domain you did not approve. But the notes do not say an approval stops carrying over to a changed kit that keeps the same domains.

A separate 0.55 change also helps. Host-managed keys are now added only to HTTPS requests. Endor's demo used plain HTTP to a local server. A real attacker could use HTTPS, so this does not fix the bug by itself.

The upgrade trap

Version 0.55 stops reading several environment variables, including four kit settings: DOCKER_SANDBOXES_KIT_REQUIRE_SIGNATURE, DOCKER_SANDBOXES_KIT_TRUSTED_SIGNERS, DOCKER_SANDBOXES_KIT_ALLOWED_SOURCES and DOCKER_SANDBOXES_KIT_ALLOW_LOCAL.

Docker's notes say that without a saved setting or an admin policy, signatures are optional and local kits are allowed. So if you required signed kits through an environment variable, upgrading for this security fix can quietly turn that rule off.

Docker says to save each setting before you upgrade, with sbx settings set:

sbx settings set kit.requireSignature true
sbx settings set kit.trustedSigners <your signers>
sbx settings set kit.allowedSources <your sources>
sbx settings set kit.allowLocalKits <true or false>

The setting names come from Docker's 0.55.0 notes. We did not run these commands, so check the value format in Docker's docs.

Why this pattern keeps coming back

The researcher points out that the sandbox itself held. The key never entered the virtual machine. The failure was in what the approval was tied to.

His earlier Docker Sandboxes bug, CVE-2026-103916, had the same shape: you approved a file path, and it led somewhere else.

This is the same lesson as pinning a package or a build step to a commit instead of a tag. A tag can move. An approval tied to a name that can move, moves with it. Endor's advice to fetch a kit at a fixed commit, or keep a reviewed copy in a local folder, follows from that.

Who is affected

CaseStatus
Docker Sandboxes 0.43.0 up to 0.55.0Affected. The bug came in with the 0.43.0 consent prompt.
Docker Sandboxes 0.55.0 and laterFixed. Released November 30, 2026.
Versions before 0.43.0No consent prompt existed to get around. Endor did not assess how they handle keys.
Services that share the codeanthropic, copilot, cursor, devin, droid, github, google, groq, mistral, nebius, openai, openrouter, xai. Only anthropic was tested.

What to do

What is still unknown

Sources

Today's full edition: Cyber Security News Report · every headline, every morning.