Skip to content
VECTOR WIREAI INTELLIGENCE
UTC
Home

Docker patches Docker Sandboxes flaw that exposed AI agent API keys in CVE-2026-136998

Developers running Docker Sandboxes versions 0.43.0 through 0.54.x must upgrade to 0.55.0 to enforce domain bindings on host-proxied AI agent credentials.

Docker, Inc. patched a vulnerability in Docker Sandboxes, tracked as CVE-2026-136998, in version 0.55.0 on November 30, 2026, stopping malicious third-party AI Agent Kit updates from exfiltrating developers' Anthropic, OpenAI, and GitHub credentials3,5. The flaw allowed an updated kit to reuse a developer's single initial credential approval to route real API keys to an attacker-controlled server without triggering a new consent prompt1. Endor Labs researcher Peyton Kennedy discovered the authorization bug during controlled testing, and no confirmed thefts of real credentials have been documented7.

Docker Sandboxes isolates AI coding agents inside lightweight virtual machines while keeping raw secrets on the host machine. A developer stores a credential on the host using the sbx secret set command. The sandboxed agent sends outbound requests with a placeholder header, and a host-side proxy substitutes the real API key on the way out. The AI Agent Kit, which is a packaged configuration fetched from a registry, a Git reference, or a local folder, dictates which outbound destinations receive the substituted key.

How the domain binding failed

Docker introduced the vulnerability in version 0.43.0, released September 15, which added a consent prompt for third-party kits requesting credentials. Approving a request in that release and later builds wrote a binding recording the service and the specific domains the developer approved. Kennedy found that Docker Sandboxes never read that recorded domain list back when processing requests. The policy log also recorded an allowed connection without logging that a credential had been transmitted.

The bug affected every version of Docker Sandboxes before 0.55.0 across macOS, Windows, and Linux. Under the version 0.55.0 release notes, kit credential injection enforces the destinations approved for API keys and OAuth separately, and treats a binding with no approved destinations as missing. Upgrading to version 0.55.0 removes the vulnerability.

Scope and prior sandbox flaws

Endor Labs confirmed the exfiltration mechanism using a dummy Anthropic key. Because Docker Sandboxes stores credentials globally, Kennedy warned that a compromised key could affect multiple sandboxes on a developer's machine. Thirteen built-in integrations share the same key-injection path, including Anthropic, OpenAI, GitHub, and Google, though Kennedy did not test the remaining 12 built-in services separately.

Kennedy rated CVE-2026-136998 at 8.2 (High) under CVSS 3.1. Under CVSS 4.0, Kennedy scored the vulnerability at 6.9 (Medium), whereas the vendor scored it at 5.6 (Medium). Endor Labs reported the credential flaw to Docker on September 21, 2026, alongside a separate file-copy vulnerability discovered by Kennedy that allowed an agent to access host files outside its approved folders. Docker patched that earlier host file-access bug on November 3.

Was this useful?

The day’s vector, in your inbox.

Vector Wire Daily: one dispatch each publishing day.