# Docker Sandboxes CVE-2026-136998: An Approved Kit Could Send Your Real API Keys Elsewhere. Upgrade to 0.55.0

Docker Sandboxes CVE-2026-136998: the credential check only asked whether a binding existed for a service, so a later version of an approved kit could send your real Anthropic, OpenAI or GitHub key to new domains with no new prompt. Fixed in 0.55.0. Upgrade, then rotate any key a third-party kit could reach.

By Neomanex. Updated 2026-12-04.

**Verdict: upgrade to 0.55.0 today, then rotate.** [Docker Sandboxes](/directory/docker-sandboxes) sells one promise above all: raw credentials never enter the sandbox, because a host proxy injects them. CVE-2026-136998 sat in exactly that proxy. It trusted the domains a kit names *now*, not the ones you approved. Docker Sandboxes stays **conditional** in our directory, and the condition has always been that you patch.

## What happened

On 1 December, The Hacker News reported research by Endor Labs' Peyton Kennedy into how Docker Sandboxes (the `sbx` CLI) approves credential use by third-party kits. The core problem, in THN's words: "At request time, the check only asked whether a binding existed for the service name, and the proxy then sent the real key to whatever domains the current version of the kit named."

Endor Labs' own write-up puts it more bluntly: "The binding's domains list is written and never read."

- **Fixed in:** 0.55.0. Docker's release notes say credential injection "now enforces the approved destinations for API keys and OAuth tokens."
- **Scores:** the researcher's corrected score is 8.2 (High) under CVSS 3.1 and 6.9 (Medium) under CVSS 4.0, down from an initial 9.3. Docker scores it 5.6 (Medium) under CVSS 4.0, per The Hacker News; Docker's 0.55.0 release notes publish no score.

## Why it matters

Once you approved a kit, "a later update to that kit could send their real Anthropic, OpenAI, or GitHub key to a server the attacker controls, with no new prompt," per THN. Docker's release notes describe the same path: a modified third-party kit could reuse a previously approved service binding to send a stored provider credential to an attacker-controlled host.

The scores disagree, but the failure mode does not. The consent prompt is the security boundary for credentials in Docker Sandboxes, and the prompt did not bind to what you consented to. Do not read the Medium vendor score as a reason to wait.

## What changes for you

1. **Upgrade `sbx` to 0.55.0.**
2. **Clean up bindings.** Remove third-party kit bindings from `~/.config/sbx/credentials.yaml` (or its Windows equivalent).
3. **Review on every create.** Check kit inject domains and network allowlist entries each time you create a sandbox.
4. **Pin kits** to fixed commits where possible.
5. **Scope keys per sandbox** with the `--sandbox` flag instead of storing them globally.
6. **Rotate** provider keys for any approved third-party kit that later changed.

## FAQ

**Am I exposed if I never used a third-party kit?** The reported attack path runs through an approved third-party kit that later changed. Still upgrade, because 0.55.0 enforces approved destinations for every binding.

**Is upgrading enough?** No. Upgrading closes the hole going forward. Any key that a changed third-party kit could reach before you upgraded should be rotated.

**Why do the scores differ so much?** The researcher scores it 8.2 under CVSS 3.1 and 6.9 under CVSS 4.0; Docker scores it 5.6 under CVSS 4.0, per The Hacker News; Docker's 0.55.0 release notes publish no score. Different scoring versions and assumptions, same fix.

**Have you tested this?** No. We have read Endor Labs' write-up, Docker's 0.55.0 release notes and The Hacker News report, and we have not reproduced the flaw.

Canonical: https://neomanex.com/news/docker-sandboxes-cve-2026-136998-kit-credential-approval-fixed-0-55-0
