Docker shipped Sandboxes v0.55.0 on 30 November 2026 with one line that creates work for anyone running agent sandboxes on developer laptops: "Fixed CVE-2026-136998, where a modified third-party kit could reuse a previously approved service binding" (release notes). The upgrade takes five minutes. Reading ~/.config/sbx/credentials.yaml on every box that ever ran a third-party kit, and then pulling per-key usage from each provider, is the part that costs a week.
The mechanism decides how much rotation you owe, so it is worth getting straight. Provider keys never enter the microVM: the agent sends a placeholder header, x-api-key: proxy-managed, and a host proxy substitutes the real key for approved destinations. Endor Labs, who reported it on 21 September as ENDOR-VUL-2026-21091 and scored it 8.2 High (AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N), found the approval row was keyed on the service name alone, with no kit name, content digest or source in the key, and that the domains list inside the row was "written and never read." Kit v1 declares api.anthropic.com and gets approved once. Kit v2 changes only the inject domain, and the next sbx create finds the row and prompts nobody.
Six weeks ago, on a patch day, I ran a behavioural probe against my own server instead of trusting node -v, and the decoder returned the unpatched error code on a release line the version table said was already past end of life. Version strings describe intent, state describes exposure, and the order matters here too.
Which keys do you actually have to rotate?
- Read
~/.config/sbx/credentials.yamlbefore you readsbx version. The upgrade protects future runs and says nothing about past ones. The binding rows are your exposure inventory, one developer box at a time, and a row is this small:
anthropic:
apiKey:
domains:
- api.anthropic.com
Per Endor, the row granted injection at whatever domains the current kit declared, so the presence of the row puts that provider in scope regardless of the domain printed under it. Installed-version checks answered the wrong question during Alpine's OpenSSH CVE-2026-123158 for the same reason.
- Scope by row, not by the provider list. Thirteen built-in services share the code path:
anthropic,copilot,cursor,devin,droid,github,google,groq,mistral,nebius,openai,openrouter,xai. Endor demonstratedanthropicwith a dummy value and states the other twelve were not demonstrated separately. Rotating all thirteen across the fleet is an expensive reflex; rotating every service holding a row on a box that ran a third-party kit is the version you can defend in a review. - Stop expecting your own host to answer it. In Endor's words,
sbx policy log"records the connection to the canary host as allowed and says nothing about a credential being injected into it." Logging the injection appears in that write-up as a recommendation to Docker, not as something v0.55.0 shipped. The only place an exfiltrated key leaves a trace is the provider that issued it. - On Anthropic, join key IDs to per-key usage. Pull the inventory from the Admin API first, then read usage grouped by key over the window a third-party kit was live:
curl -s https://api.anthropic.com/v1/organizations/api_keys \
-H "x-api-key: $ANTHROPIC_ADMIN_KEY" -H "anthropic-version: 2023-06-01"
Then GET /v1/organizations/usage_report/messages with group_by[]=api_key_id. Anthropic's docs label that endpoint legacy and point new integrations at GET /v1/organizations/analytics/usage. The limit sits in the same page: the Admin API needs an admin key and is not available for individual accounts. If your engineers hold personal keys, there is no org-side audit trail to pull, and that gap belongs in your next budget conversation rather than in an incident note.
- On OpenAI, treat
last_used_atas a clock, not a location.GET /v1/organization/projects/{project_id}/api_keysreturnslast_used_atper project key,GET /v1/organization/audit_logscarries lifecycle events such astenant.project_api_key.created, and the usage endpoints acceptgroup_bywithapi_key_idplus a filter onapi_key_ids. None of them records the destination host, so an attacker calling the API with your key looks exactly like your own traffic. Volume and timing on a key nobody was supposed to be using is the signal you have. - On GitHub, the token hash is the join key, and Git events only appear in an export. GitHub documents a
phrasesearch of the formhashed_token:"<URI-escaped hash>"against/orgs/{ORG}/audit-log, withprogrammatic_access_typeandtoken_scopesreturned alongside. The same page carries two caveats to plan around: neither the UI search nor the REST API returns Git events, so you need the audit log export, and token data on Git events is still public preview. A GitHub token a kit could reach grants write access to the victim's repositories, which makes this the row worth paying the export for. - Keep the superseded key alive until its own usage reads zero. Create the replacement, deploy it, then watch the old key's grouped usage or
last_used_atgo flat before you delete anything. Deleting first converts a credential-exposure incident into an outage, and the outage is what the business will remember about your week. - Prove the old key is dead by using it. An expected failure is evidence, an assumption is not. State the threshold before you run it: you want
401.
curl -s -o /dev/null -w '%{http_code}\n' https://api.anthropic.com/v1/messages \
-H "x-api-key: $OLD_KEY" -H "anthropic-version: 2023-06-01" \
-H 'content-type: application/json' \
-d '{"model":"claude-opus-5","max_tokens":1,"messages":[{"role":"user","content":"x"}]}'
I close out a git-history rotation the same way, because a clean scanner run is an inventory and not proof of revocation.
- Hunt the copies before you call the rotation finished.
sbx secret setstores credentials globally by default, so a key approved for one experiment is available to the next kit, and Endor's guidance is to scope it with--sandbox. macOS has a second hiding place: Docker's v0.54.1 notes say secrets saved before that upgrade "can be removed without manually deleting their Keychain entries," so rotations done earlier may have left the entry behind. Walk the host store, the CI secret store, and any saved sandbox state. - Pin kits to a commit, and let the upgrade's re-prompts serve as your audit.
sbx create --kitaccepts a git reference "optionally pinned to a ref and/or subdirectory" per the CLI reference, and--kit "git+https://github.com/org/repo.git#ref=<commit>"removes the version-swap step entirely. Expect noise while you roll it out: v0.54.0 warns that "existing kit permissions may require confirmation again after upgrading because permission checks use stronger service digests," and v0.55.0 now treats "bindings with no approved destinations" as missing. Those prompts are the one moment the tool shows you the domains, so read them instead of clicking through. One row I could not verify: whethersbx policy approvallists existing bindings in a form you can diff across a fleet. The subcommand exists in the CLI reference and its output is undocumented, sosbx policy approval --helpon 0.55.0 settles it in one command, and if it prints approved destinations, that becomes the fleet query this incident otherwise lacks. - Turn the kit supply chain into policy, then plan for the HTTPS break. v0.55.0 exposes
kit.allowedSources,kit.allowLocalKits,kit.requireSignatureandkit.trustedSigners; leavekit.ignoreTransparencyLogalone, and verify withsbx kit verifyandsbx kit provenance. One further line in those notes will bite teams that changed nothing: "External endpoints used by local sandboxes must use HTTPS to receive host-managed API keys." An internal gateway on plain HTTP stops receiving injected keys after the upgrade, which presents as a broken agent rather than as a control doing its job. Bounding what a credential reaches before it reaches it is the cheaper exercise, which is the lesson I took from Sentry MCP's public DSN.
Wrap-up
Read state before version numbers. A patched sbx binary tells you what happens on the next run, while the binding file tells you what was already permitted and the provider's per-key usage tells you whether anyone took it. Every expensive item in this incident, the rotation window, the dual-key deploys, the audit-log export, follows from those two reads, and no scanner will do them for you. Start on the box nearest you:
sbx version --json; cat ~/.config/sbx/credentials.yaml
Comments
Be the first to comment.