If you run AI agents in Docker Sandboxes, start by checking your version with sbx version. CVE-2026-136998 affects versions from 0.43.0 up to, but not including, 0.55.0. Upgrade to at least 0.55.0, released on November 30, 2026, or a later stable release containing the fix. If you have used untrusted agent kits with access to credentials, also determine whether those API keys need to be rotated.
Information checked on December 3, 2026. This guide is based on documentation and the vulnerability description. We did not reproduce the attack or run Docker Sandboxes in a test environment. Commands were checked against documentation, not executed on a live installation. Docker Sandboxes 0.55.0 release · CVE description
What happened?
A sandbox is an isolated environment where an agent can work without being given unrestricted access to your computer. Docker Sandboxes also manages credentials used to communicate with external services. Think of an API key as an access pass: whoever holds it can use a service within the permissions granted to that key.
This vulnerability concerned enforcement of approved credential destinations in third-party agent kits, which package agent configurations. Under certain conditions, a modified kit could cause a credential to be disclosed. That does not mean every Docker user lost their keys, or that a widespread breach occurred. A vulnerability establishes a possible exposure, not proof that a particular account was compromised. Industry coverage · Credential documentation
Step 1. Check whether you are affected
Open a terminal on the computer where you manage your local sandboxes:
sbx version
sbx ls
sbx secret ls
The first command checks the tool version, the second lists existing environments, and the third helps inventory stored credentials. Keep the output private: service, account and project names can reveal information about your infrastructure.
| What you find | What to do |
|---|---|
| Version 0.43.0 or later, but below 0.55.0 | Pause suspicious workloads and upgrade. |
| Version 0.55.0 or a later patched version | Check whether you previously used an affected version. |
| Version older than 0.43.0 | Outside the documented range for this CVE, but still upgrade for other fixes. |
| Unknown server version or managed environment | Ask your administrator to confirm the version and deployment of the fix. |
Docker Desktop, Docker Engine and Docker Sandboxes are distinct products. Running docker --version alone does not establish whether your sbx installation is affected. If sbx is not installed on this computer, check other machines and environments where your agents run.
Step 2. Update Docker Sandboxes
Save any code changes you need and finish running agent tasks. If you suspect an incident, preserve information about versions, kits and usage times. Do not rush to delete environments or logs: deleting a sandbox may destroy its local files.
Use the same installation channel as before. These commands apply to existing installations managed by the corresponding package manager.
macOS, Homebrew:
brew update
brew upgrade docker/tap/sbx
Windows, WinGet:
winget upgrade --id Docker.sbx --exact
Ubuntu, with Docker's package repository already configured:
sudo apt update
sudo apt install --only-upgrade docker-sbx
For company-managed installations, follow your organization's update policy. For manual installations, use the appropriate official package from GitHub. Read the configuration changes in the 0.55.0 release notes before upgrading, especially if you use custom daemon settings.
Open a new terminal after the upgrade:
sbx version
sbx diagnose
Check that the local components are functioning and that an older daemon has not been left running. If your package manager has not yet made a patched version available, do not resume workloads involving untrusted kits and credentials. Use the official installation route or ask your administrator. Updating an agent inside a sandbox is not a substitute for updating sbx. Installation · Release notes · Troubleshooting
Step 3. Decide which credentials need rotation
Not every key stored on your computer is automatically at risk from this vulnerability. Consider which credentials were granted to kits running in affected environments, where those kits came from, and how they were used.
| Situation | Recommended response |
|---|---|
| Affected version, untrusted or modified kit, and credential access | Pause workloads, rotate potentially exposed credentials and review activity. |
| Unknown kit provenance or unreliable usage history | Treat exposure as plausible, especially for production keys. |
| Trusted configuration only, no signs of unusual activity | Patch and inventory credentials; assess actual exposure before deciding on rotation. |
| Credentials with production access or broad permissions | Prioritize them for risk assessment and rotation. |
This decision checklist is editorial guidance, not measured risk data or a security guarantee. A clean activity log does not rule out credential disclosure.
Step 4. Revoke the old key at the API provider
Rotation means replacing a credential and removing the old credential's access. Replacing a value in Docker alone does not stop someone from using the previous value elsewhere.
- OpenAI: review API keys, limits, usage and costs in the relevant project.
- Anthropic: review keys, usage and the relevant workspace in the console.
- GitHub: review access tokens, repository permissions and account or organization activity.
- Other services: perform equivalent checks in the provider's dashboard. If you use OAuth instead of API keys, also check whether the relevant authorization or session can be revoked.
Access these dashboards from a trusted environment, not a suspicious sandbox. If you suspect active abuse, revoke the compromised key immediately, even if this temporarily disrupts an application. Otherwise, coordinate a short, controlled rotation with the system owner: create a replacement, update dependencies, test and revoke the old key. Verify that old access has actually been removed. For organizational incidents, follow the applicable incident response procedure.
- PauseStop suspicious workloads and preserve relevant information.
- PatchInstall a fixed sbx version.
- RevokeRemove access for potentially exposed credentials at the provider.
- RestrictCreate replacement credentials with narrowly scoped permissions.
- VerifyRun a safe test and monitor activity.
Adjust the order of patching and revocation to the circumstances. During active abuse, cutting off access takes priority.
Step 5. Store replacement credentials only where needed
Imagine a test application in a sandbox called my-sandbox. It only needs OpenAI access. In a trusted, updated installation, you can use:
sbx secret set openai --sandbox my-sandbox
sbx secret ls --sandbox my-sandbox
Replace the example name with the actual name from your sandbox list. Enter the new key at the interactive prompt rather than putting it in the command. Do not paste it into a prompt, README or repository. Scoping a credential to one sandbox helps reduce accidental sharing, but does not automatically restrict the key's own permissions at the provider.
Check for older global credentials as well. If other environments depend on one, coordinate the change rather than deleting it blindly. Dynamic secret sources also need attention: update the underlying value when rotating a credential backed by such a source. List secrets · Store secrets
How do you know when you can resume work?
Start with one short task in a trusted configuration, using a restricted test credential without access to production data. Check the result and the provider's activity records. If authentication fails, verify credential scope and validity rather than granting the agent unrestricted permissions.
If you notice unexpected charges, repository changes or requests from unfamiliar sources, preserve evidence, revoke suspicious access and contact your administrator or provider. In organizational environments, also review service accounts and automation jobs that may have depended on the same credential.
Reduce future risk
Treat agent kits like other software dependencies: check their origin, review changes and avoid approving new permissions without a reason. Separate development and production credentials. Apply least-privilege permissions, spending controls where supported, and outbound network restrictions. Avoid unnecessarily mounting directories containing private host configuration.
Isolation is an important layer of protection, not a replacement for credential management. After this CVE, the priorities are a patched Docker Sandboxes installation and revocation of any credentials that may have been disclosed.
