SecuFocus
Brief

Docker Sandboxes fixes a potential API key leak

Docker Sandboxes v0.55.0 fixes a flaw that could expose provider credentials when developers used third-party agent kits. After updating, review which destinations those kits are allowed to use.

Sur un bureau sombre, un écran affiche une clé vert menthe dans un boîtier transparent.

Generated image · SecuFocus

At a glance

Key points

CVE-2026-136998 affects Docker Sandboxes versions 0.43.0 through to, but not including, 0.55.0. The fix restricts API keys and OAuth tokens to approved destinations.

Host credentials could reach unapproved destinations

Docker Sandboxes lets coding agents use external services without storing their credentials inside the sandbox. Even so, CVE-2026-136998 meant that a credential stored on the host could be sent to an unapproved destination when a third-party kit was in use.

No approved destination means no credential

Starting with v0.55.0, Docker Sandboxes checks the destination before sending an API key or OAuth token. If no destination is approved for the credential, Docker treats it as unavailable. External services used by local sandboxes must also use HTTPS to receive host-managed credentials.

Carry your settings over before upgrading

Install v0.55.0 or later. Before upgrading, check whether any developer machines still rely on environment variables this release no longer reads. If they do, Docker recommends saving those overrides with `sbx settings set` before installing the update.

Review approvals and rotate credentials at risk

Inventory the third-party kits your team uses and compare their approved destinations with the services you actually need. Remove approvals you no longer need. If a key or token may have been exposed, revoke it with the provider and replace it. Check any available usage logs for unusual activity.

Check and explore

Sources for this article

Numbers connect each reference to the passages that use it. Dates show when the documentation was consulted.

This article draws on the sources above. The exercises are for you to try on your devices; SecuFocus does not present them as tests carried out by its editorial team. Interfaces and features can change. Method and corrections.

Cite this article

Keep this reference with the article when you save or share it.