Incident sheet · Uncategorized
- Filed
- Read
- 586 words
- Severity
- Routine
Docker patches CVE-2026-136998: sandbox secret injection leak
Docker fixed a CVSS 8.2 flaw in Docker Sandboxes introduced with v0.43.0. Updated agent kits could redirect host-side secret injection to attacker servers, exposing cleartext API keys.

Event log
- CVE-2026-136998 carries a CVSS score of 8.2 and affects Docker Sandboxes versions from v0.43.0 onward.
- Docker shipped the fix in version 0.55.0, released November 30, 2026.
- Peyton Kennedy of Endor Labs found the flaw and demonstrated cleartext credential exposure using a canary server.
- All 13 built-in services share the vulnerable injection mechanism; only the Anthropic path was independently demonstrated.
- Endor Labs advises pinning agent kits to fixed commits and rotating keys on affected deployments.
Docker fixed a high-severity vulnerability on November 30, 2026, in version 0.55.0 of Docker Sandboxes. Tracked as CVE-2026-136998, the flaw carries a CVSS score of 8.2 and allowed malicious third-party AI agent kits to exfiltrate developers' live API credentials after a single consent prompt.
Peyton Kennedy of Endor Labs discovered the issue. The vulnerability affects Docker Sandboxes versions introduced with v0.43.0, the release that added the consent mechanism itself. Exposed secrets could include API keys for Anthropic, OpenAI and other AI providers, plus GitHub tokens with potential write access to developers' repositories.
What does the flaw allow?
The attack requires no access to the developer's machine and no compromise of the sandbox. It exploits a gap between what a developer approves and what Docker subsequently authorizes.
Docker Sandboxes are designed to keep raw credentials outside the microVM (a lightweight virtual machine running the AI coding agent). Developers store secrets on the host with the sbx secret set command, and a host-side proxy injects the real keys into outgoing requests to approved domains. The sandbox itself only handles placeholders.
From v0.43.0, Docker required developers to approve the credentials and destinations requested by third-party agent kits. Kennedy found the mechanism records the authorization against a service name, not against the specific kit or its version. Docker stores the approved domains in credentials.yaml, but the proxy does not enforce those domain restrictions at injection time.
The attack sequence follows directly:
- An attacker publishes an agent kit requesting access to a legitimate domain, such as api.anthropic.com.
- The developer approves the request once.
- The attacker updates the same kit to point at an attacker-controlled server.
- On the next run, Docker recognizes the existing approval, skips the consent prompt, and the proxy injects the real API key into requests sent to the attacker's destination.
Until deployments upgrade to 0.55.0, this path remains open to any kit a developer has previously approved.
How was the theft demonstrated?
Kennedy reproduced the attack with a dummy Anthropic API key and a locally hosted canary server. The reproduction confirmed the split-injection behavior: the sandbox sent a placeholder credential while the host-side proxy substituted the actual key before forwarding the request. The canary server received the live credential, despite the developer having approved a different destination.
The demonstration exposed credentials in cleartext. All 13 built-in services share the same injection mechanism, though Kennedy confirmed the issue only through Anthropic's credential injection path. The other 12 were not independently demonstrated.
Why do policy logs miss it?
The vulnerability compounds a detection problem. Docker's sbx policy log records the connection as an allowed request but does not indicate that a credential was injected. Developers reviewing their logs see an ordinary permitted network connection with no sign their keys were exposed.
That accounting gap matters for incident response. Teams cannot distinguish a benign connection from one that carried a live secret into an attacker's server without additional evidence, and the policy log provides none.
What should security teams do now?
Endor Labs issued four recommendations for systems not yet upgraded to v0.55.0:
- Review existing third-party credential approvals in Docker Sandboxes deployments.
- Pin agent kits to fixed commits instead of mutable references.
- Restrict credentials to individual sandboxes rather than sharing them broadly.
- Rotate keys if a previously approved kit may have changed since approval.
The fix is straightforward: upgrade to Docker Sandboxes v0.55.0. The hard part is the retroactive question of whether any approved kit changed between the consent event and the fix, because the policy logs will not answer it.
via infoworld.com/feed/ (Source)
More from Rebecca Stone
Show full bio
Senior reporter covering money, funding and market shifts around enterprise information technology and the leaders who run at CIO Monitor.
271 articles
The newsroom digest
One email a day with the stories that matter. No noise.
Cross-references
- TRAI's 30% Market Share Rule Redefines Telecom Interconnection
- Four Industry Bodies Urge India's DoT to Narrow SIM Binding Rule
- Google to decouple Search history from future AI training
- Shivam Medisoft confirms extortion demand over claimed 13.6M-record breach
- Hackers Breached Air Force Cloud One Platform Serving 750,000 Warfighters