Docker Sandboxes flaw could let agent kit updates steal Anthropic and OpenAI API keys
Endor Labs researcher Peyton Kennedy reported a flaw in Docker Sandboxes that let a later update to a third-party agent kit send a developer's real API key to a server the attacker controls.
Summary
Endor Labs researcher Peyton Kennedy reported a flaw in Docker Sandboxes that let a later update to a third-party agent kit send a developer's real API key to a server the attacker controls. Docker fixed the flaw in version 0.55.0 and published CVE-2026-136998, and the researcher said no attacks using it had been reported.
What to do
Upgrade Docker Sandboxes to version 0.55.0 or later.
Review the kits approved in Docker Sandboxes and the destination domains each one was granted.
Rotate Anthropic, OpenAI and GitHub keys stored with sbx secret set if a kit was approved on an affected version.
Timeline
- Made public by Mastodon
- First seen by cve.now
- Confirmed as CVE-2026-136998
Evidence 3
- Mastodon
“CVE-2026-136998: Docker Sandboxes did not enforce approved credential destinations for third-party kits, so a modified kit could send a stored provider credential to an attacker-controlled host.”
- Mastodon
“Docker Sandboxes versions since 0.43.0, before 0.55.0 recorded approved credential destinations but did not enforce them during proxy substitution for third-party kits.”
- The Hacker News
“A flaw in Docker Sandboxes, which runs AI coding agents inside isolated virtual machines, meant a third-party agent kit could steal the API keys the product is designed to keep out of the agent's reach.”
Questions about Docker Sandboxes flaw could let agent kit updates steal Anthropic and OpenAI API keys
Has Docker confirmed it?
Yes. Confirmed as CVE-2026-136998.
Source: Mastodon, Mastodon, The Hacker News
What should Docker and Docker Sandboxes users do?
Upgrade Docker Sandboxes to version 0.55.0 or later. Review the kits approved in Docker Sandboxes and the destination domains each one was granted. Rotate Anthropic, OpenAI and GitHub keys stored with sbx secret set if a kit was approved on an affected version.
Does it have a CVE?
Yes. It is tracked as CVE-2026-136998.
Source: CVE-2026-136998
No corrections so far. Something wrong on this page? Report an error.