Docker Sandboxes flaw could expose credentials through modified agent kits
A vulnerability in Docker Sandboxes could let a modified kit redirect stored service credentials for a previously approved service to an attacker-controlled host. Docker’s documentation says users should upgrade to version 0.55.0 or later.
Key takeaways · 4
- 01
Check whether Docker Sandboxes is running version 0.55.0 or later; Docker recommends upgrading to that version range.
- 02
Review service approvals before launching a modified kit; the flaw required prior service approval and a later launch of the modified kit.
- 03
Consider which credentials are available to Sandboxes: the affected path covered 13 built-in services, including Anthropic, OpenAI and GitHub.
- 04
Do not treat an allowed-connection policy log as confirmation that no credential was sent; the log could omit that detail.
How a modified kit could redirect credentials
Docker’s documentation says exploitation required a user to approve a service and later launch a modified kit.[3] The flaw allowed that kit to change the destination for a previously approved service binding, so a stored provider credential could be sent to an attacker-controlled host.[3] On subsequent runs, Docker checked only whether the developer had approved the AI service, and the proxy could send the real API key without asking for approval again.[1] The attacker did not need access to the developer’s computer, but did need one approval and a changed line in the kit.[4]
Affected versions and the fix
The vulnerability is tracked as CVE-2026-136998.[1] BleepingComputer reports that it was introduced in Docker Sandboxes 0.43.0, while Docker says versions from 0.43.0 up to, but not including, 0.55.0 are affected.[1][3] Docker fixed the issue in version 0.55.0, released on November 30, 2026, and recommends upgrading to 0.55.0 or later.[4][3] For teams assessing exposure, the version range provides a concrete starting point for checking installations; verify the installed version rather than relying on whether an agent kit appears familiar.
Services and possible consequences
The affected credential-injection path was shared by 13 built-in services, including Anthropic, OpenAI and GitHub.[1] A stolen AI-provider key could lead to charges on the account, while a stolen GitHub token could allow access to repositories within the token’s scope.[1] Endor Labs says Docker Sandboxes stores credentials globally by default, meaning a redirected key could be shared across sandboxes on the same machine.[4] These details make it relevant to check both the Sandboxes version and which credentials are available to agent kits.
What is known about exploitation
The vulnerability has a CVSS 3.1 score of 8.2, rated High, according to Endor Labs.[4] The Hacker News reported that no attacks using the vulnerability had been reported so far.[5] BleepingComputer says Kennedy demonstrated the flaw using a dummy Anthropic key.[1] Docker’s policy log could record an allowed connection without indicating that the API key had been sent with it, so that log alone may not show whether a credential was exposed.[1]
Teams using AI coding agents need to assess the software version and the credentials available to agent kits, not just whether a service was previously approved. A useful review should also account for the limits of connection logs and the scope of any tokens the agents can access.
Why it matters
AI training for your team
kju.ai is built for teams: daily sessions, team analytics, and rollout support for your organization.
How this developed
2 December 2026
Docker Sandboxes flaw could expose credentials through modified agent kits
Sources
- Docker Sandboxes bug could leak AI API keys via malicious updatesbleepingcomputer.com
- Vulnerability in Docker Sandboxes allowed malicious AI agents to steal API keys from OpenAI, Claude, and GitHub | dev.uadev.ua
- Docker security announcements | Docker Docsdocs.docker.com
- CVE-2026-136998: Docker Sandboxes vulnerability lets malicious AI agent kits steal developers' API keys | Endor Labsendorlabs.com
- Docker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keysthehackernews.com
