Ground Truth.
AI, checked against the source.

News · 2026-12-02

Docker fixes Sandboxes flaw that could send host-injected credentials to an unapproved destination

Docker fixed CVE-2026-136998, a credential-routing flaw in Docker Sandboxes that could let a modified third-party kit redirect a host-injected provider credential after the user had previously approved that service. Docker says versions 0.43.0 through before 0.55.0 were affected; the fix shipped in v0.55.0. The disclosed mechanism was a proxy-policy failure, not a virtual-machine escape.

Key facts

Docker’s CVE entry describes the core failure: the sandbox system recorded which destinations a user had approved, but the proxy did not enforce that destination restriction during credential substitution for third-party kits. If a kit changed its destination while retaining a prior service binding, the host-side proxy could attach the stored credential to a request sent elsewhere.

A simple analogy is approving a delivery service to send a package to one address, then having a later order quietly change the destination while the courier still uses the same authorization. The important control failed at the point where the host proxy decided whether a credential could accompany a request. The agent did not escape its microVM or directly read the host’s credential store.

Docker’s record says the flow required the user to approve a service and later launch a modified kit. This is a supply-chain concern because a kit or its reference could change after review. Endor Labs researcher Peyton Kennedy disclosed the issue, and BleepingComputer reports that the demonstration used a dummy Anthropic key and a canary host. No real secret was used in that demonstration. The researcher identified 13 built-in services sharing the code path, but the dossier found one demonstrated service rather than 13 separate demonstrations.

Docker’s release notes say v0.55.0 enforces the approved destination for API keys and OAuth tokens and treats bindings without approved destinations as missing. The credential documentation explains the host-managed credential flow. Docker’s remediation is to upgrade to 0.55.0 or later and avoid running untrusted third-party kits with stored provider credentials while using affected versions.

The CVE record rates the issue Medium, CVSS 5.6. A leaked API key could create charges or allow actions within the token’s scope; a GitHub token’s reach depends on granted permissions. The researcher’s assessment differs from Docker’s score and should remain attributed. The dossier did not establish exploitation in the wild, so the correction is urgent but not evidence of active attacks.

The security lesson is that the word “sandbox” does not describe every security boundary around an agent. A microVM can isolate a process while a host proxy intentionally injects credentials. The proxy therefore needs destination authorization that remains bound to the exact target, and kit updates need review. After updating, operators can check whether any previously approved kit changed its credential destination; rotate a secret if there is evidence it may have been exposed.

The incident is directly relevant to AI agents because tools and kits often receive API credentials from a trusted host environment. It is also a conventional authorization bug: safe model behavior cannot compensate for a proxy that sends secrets to an unauthorized endpoint. Related lessons cover scoped credentials, information-flow control, and agent sandboxing.

The impact depends on the credential’s type and scope. A model-provider key may create charges or allow use of its account. A source-control token may expose repositories or permit writes if its scopes allow them. The CVE does not imply that every secret automatically gives full account control. Incident response should identify which token was configured and whether any log or suspicious kit suggests it reached an unapproved host.

The record’s dated status enrichment did not report known exploitation, but that is a snapshot rather than a guarantee no exposure occurred. The dummy-key demonstration is useful because it shows the proxy path without disclosing a real secret. It also separates the demonstrated mechanism from claims of host compromise.

The remediation is concrete: upgrade to Docker Sandboxes 0.55.0 or later, avoid untrusted kits with stored credentials while affected, and review suspicious destination changes. Rotate a secret if evidence indicates it may have been redirected, then inspect provider-side usage. These are proportionate actions for a credential-routing flaw; they do not imply every older installation was attacked.

Docker’s release says the fix now “enforces approved destinations” for injected credentials.


Primary source, verified: read the paper →

Key questions

Was CVE-2026-136998 a Docker sandbox escape?

No. The disclosed mechanism was a host proxy sending an injected credential to a destination that had not been approved.

Which Docker Sandboxes version fixes the flaw?

Docker’s CVE record and release notes identify version 0.55.0 and later as fixed.

What conditions did the documented attack require?

Docker says the user had to approve the service first and later launch the modified kit with a changed destination.
Cite this

APA

Ground Truth. (2026, December 2). Docker fixes Sandboxes flaw that could send host-injected credentials to an unapproved destination. Ground Truth. https://groundtruth.day/news/docker-sandboxes-cve-2026-136998-credential-disclosure.html

BibTeX

@misc{groundtruth:docker-sandboxes-cve-2026-136998-credential-disclosure,
  title  = {Docker fixes Sandboxes flaw that could send host-injected credentials to an unapproved destination},
  author = {{Ground Truth}},
  year   = {2026},
  month  = {dec},
  url    = {https://groundtruth.day/news/docker-sandboxes-cve-2026-136998-credential-disclosure.html}
}

Topics: cybersecurity · ai-security · vulnerabilities · supply-chain · credentials

Comments are replies to this story on Bluesky — reply with any Bluesky account to join in.