Docker Sandboxes API Key Flaw: When Should You Rotate Keys?

The Docker Sandboxes API key flaw raises two questions: which version did you run, and what did you let an agent kit access? If you use Docker Sandboxes 0.43.0 or later but are still below 0.55.0, update to 0.55.0 or later. If you also ran a modified third-party kit after approving its access to a service, review the credential for that service and rotate it if exposure is plausible. Read Docker’s advisory for CVE-2026-136998.

Which developers should review their keys?

Start with the version you used when the kit ran. A machine running a fixed version today may still have run an affected version last week. Then check which of these situations fits:

  • You used an affected version and never approved a third-party kit to use the service. Install the update. Docker identifies prior approval as a requirement for this particular exposure.
  • You approved a kit and later launched a changed version. Identify the service you approved and the kit revision you ran. If you cannot establish what changed, treat that service’s credential as potentially exposed.
  • You found unexpected provider usage or repository activity. Revoke the suspected credential at the provider, replace it where your tools use it, and review activity from the time the changed kit first ran.

How could a kit expose a key held outside the sandbox?

An agent kit is a packaged configuration for a coding agent. Docker uses a proxy on the developer’s machine to authenticate requests to approved services. That lets an agent call a provider while the real credential stays outside its virtual machine.

The flaw was in how that proxy applied an earlier approval after a kit changed. A developer could approve a kit to use one service, then launch a modified version that caused the proxy to send the stored credential to a different destination. The first fixed release was Docker Sandboxes 0.55.0, published on November 30, 2026. See Docker’s 0.55.0 release notes.

Were OpenAI, Anthropic, or GitHub credentials stolen?

Endor Labs demonstrated the issue with a dummy Anthropic key. The researcher identified OpenAI and GitHub among the services that shared the affected credential handling. The published test used Anthropic, and the disclosure documents no theft of real customer credentials. In that test, the policy log recorded an allowed connection without showing that the key had been sent. An ordinary-looking log entry therefore gives you little assurance about a kit you no longer trust. Read the original Endor Labs findings.

What should you check after updating?

Match the follow-up to the credential. For an AI provider key, review usage and billing for unexpected requests. For a GitHub token, check its permissions and activity in the repositories it could access. If you rotate a key, update any legitimate jobs that shared it and confirm they still work. Installing the patch fixes future credential handling, but a previously disclosed key remains usable until the provider revokes it or it expires.

For future runs, record the reviewed revision of each third-party kit and which services it can use. That record answers the question that matters during an incident: which credential was available to which kit when it ran?

If you are also checking older installations, the September Docker Sandboxes fixes addressed access beyond the shared workspace. Those have a separate affected version range and remediation history. See the Staging Notes guide to the Docker Sandboxes 0.42.0 workspace fixes.

About the author

Kiran Sonawane

Kiran Sonawane is a DevOps engineer who works with AWS, Azure, Google Cloud, Terraform, and Kubernetes. His experience includes automating infrastructure, managing CI/CD pipelines, securing cloud environments, and deploying AI applications. At Staging Notes, he writes practical guides that help small teams troubleshoot deployments and manage their cloud infrastructure.