Docker fixes Sandboxes flaw CVE-2026-136998 that let kit updates steal API keys in 0.55.0
Endor Labs researcher Peyton Kennedy found that approvals for third-party agent kits were never checked against approved domains. No attacks have been reported.
Step by step
How the Docker Sandboxes flaw let a kit update take keys
- Approval is recordedSince 0.43.0, approving a kit's credential request writes a binding with the service and approved domains.
- Kit is updatedIn the test, a kit approved for api.anthropic.com was replaced with a version pointing to a test server.
- Check looks at name onlyThe check only asked whether a binding existed for the service name.
- Key goes to new domainsIn the test, the proxy delivered a dummy key in cleartext with no prompt.
What happened
Docker Sandboxes runs AI coding agents inside isolated virtual machines. It is meant to keep a developer's real API keys away from the agent. A flaw let a third-party add-on called a kit send those keys to an attacker's server after a later update.
Why it matters to you
A stolen key can give an attacker access to a developer's AI accounts or code repositories. A GitHub token can include write access to a developer's repositories, the researcher says.
The takeaway
Update Docker Sandboxes to version 0.55.0 and rotate keys given to third-party kits.
What it means for you
Upgrade to 0.55.0, review the approvals file, pin kits to a fixed commit, store keys per sandbox and rotate keys behind any third-party kit that later changed.
Teams that let developers grant credentials to third-party agent kits should check which kits were approved and rotate the related provider keys.