# CVE-2026-136998: Docker Sandboxes Key Leak Patched

> A flaw in Docker Sandboxes allowed malicious agent updates to exfiltrate Anthropic/OpenAI/GitHub API keys from developers.

*Published December 2, 2026*
*Source: [The Hacker News](https://thehackernews.com/2026/12/docker-sandboxes-flaw-lets-malicious-ai.html)*
*CVE: CVE-2026-136998*
*Topic: [CVE & Vulnerabilities](https://www.sec-news.ai/news/topic/cve)*

## Executive Summary

A security flaw in Docker Sandboxes, identified as CVE-2026-136998, allowed API key leaks to malicious servers after an initial approval by developers. The vulnerability affected versions before 0.55.0 and has since been patched, enhancing the security of API key handling. Developers are urged to update to the latest version to prevent potential key exfiltration.

## Article

A vulnerability in Docker Sandboxes, identified as CVE-2026-136998, allowed malicious updates to exfiltrate API keys from developers using Anthropic, OpenAI, or GitHub services. The flaw, which affected versions prior to 0.55.0, was discovered by Endor Labs researcher Peyton Kennedy. It allowed a third-party agent kit to send real API keys to a server controlled by an attacker after just one initial approval from a developer. Docker released a fix in version 0.55.0, resolving this issue. 

The vulnerability stemmed from a consent system introduced in version 0.43.0, which failed to verify that API keys were sent only to approved domains. Instead, it allowed keys to be sent to any domain specified in an updated version of the agent kit, without notifying the developer. Kennedy demonstrated the flaw using a dummy key and a test server, confirming that the issue could potentially affect multiple integrations, including those for Anthropic, OpenAI, GitHub, and Google.

The CVE record published by Docker states that the flaw impacts macOS, Windows, and Linux. Kennedy initially rated the flaw as Critical but later revised this to High, with a CVSS score of 8.2. Under the newer CVSS 4.0, the flaw is rated as Medium. The research focused on local installations, and it remains unclear if cloud-based sandboxes share the same vulnerability. 

Developers are advised to upgrade to version 0.55.0 to mitigate this issue. The update ensures that key injections strictly adhere to approved destinations, enhancing security. While the release notes confirm this fix, additional recommendations by the researcher, such as binding approvals to a kit's content digest, were not mentioned.
