Docker Fixes Sandbox Flaw That Could Expose OpenAI, Anthropic and GitHub Credentials
Docker has released a security update for its Docker Sandboxes platform to address a vulnerability that could expose developers’ API keys and other authentication credentials to malicious third-party software. The flaw potentially affects developers working with AI tools from Anthropic and OpenAI, and developers using GitHub to manage their software repositories.
The vulnerability, designated CVE-2026-136998, received a high severity rating of 8.2 under version 3.1 of the Common Vulnerability Scoring System (CVSS). Under the newer CVSS 4.0 framework, it received a medium severity rating of 6.9.
The flaw was discovered by Peyton Kennedy, a security researcher at Endor Labs, which notified Docker of the problem September 21. Docker released a fix November 30 in version 0.55.0 of Docker Sandboxes. The vulnerability dates back to version 0.43.0.
Docker Sandboxes enables developers to run AI coding agents such as OpenAI’s Codex and Anthropic’s Claude Code in isolated VMs. This isolation is particularly important when working with AI agents.
To support developers’ use of external services, Docker Sandboxes has a system for managing authentication without giving AI agents direct access to sensitive credentials. A software proxy operating outside the VM handles authentication for the agent.
But the vulnerability demonstrates a limitation of using VM isolation to secure agentic AI deployments. The security flaw resides in the software responsible for managing credential permissions rather than the infrastructure that isolates the agent.
Specifically, Docker’s authorization mechanism didn’t adequately enforce the limits of a developer’s original approval when third-party agent software was later updated. So credentials managed by Docker’s authentication system could be disclosed to unauthorized parties even while the VM remained isolated.
Demonstrated Using a Dummy API Key
Kennedy demonstrated the vulnerability in a controlled test using a dummy Anthropic API key. While 13 services supported by Docker use the same underlying credential management technology, the researcher didn’t independently test the other 12. The disclosure didn’t document any incidents involving the theft of actual developer credentials.
Docker Sandboxes stores credentials globally by default, meaning that a compromised key could affect multiple sandboxes.
Another concern for security teams is that the policy logs generated by vulnerable versions of Docker Sandboxes don’t identify when authentication credentials have been included in network requests. As a result, these logs alone may not provide enough information to determine whether credentials have been compromised.
Docker’s updated software introduces stricter controls over the destinations authorized to receive API keys and OAuth credentials. Plus, external services must now use encrypted HTTPS connections to receive credentials managed by the host system.
In addition to upgrading Docker Sandboxes, developers should review the permissions they’ve granted to third-party agent kits. Endor Labs recommends using fixed, reviewed versions of these software packages and limiting the availability of individual credentials to the sandboxes that require them.
Teams concerned about possible credential exposure should replace potentially compromised keys and examine API usage, billing records and repository activity for evidence of unauthorized access.


