Docker Fixes Potential Key Leak via AI Kits

Docker has fixed a vulnerability in Sandboxes 0.55.0 that allowed a malicious AI agent kit to hijack credentials during an update. Listed as CVE-2026-136998, this high-severity vulnerability has a CVSS score of 8.2. Keys from Anthropic or OpenAI, as well as GitHub tokens, could be affected.
Logs Silence the Secret Injection
Peyton Kennedy, who discovered the issue at Endor Labs, reproduced a clear-text credential exposure using a fictitious Anthropic key and a local canary server. In his demonstration, the isolated environment emitted a substitute value, which was replaced on the host by the actual key before transmission. The test server received it while the developer's authorization was directed elsewhere.
In the sbx policy log, the connection appears authorized, with no mention of the secret injection. Consulting this log could lead one to believe it was merely a permitted network exchange, without signaling the exposure. Kennedy's experimental verification pertains to the Anthropic circuit: the 13 integrated services rely on a common mechanism, but no independent demonstration has been conducted for the other 12.
Reused Authorization After Kit Modification
The architecture of Docker Sandboxes ensures that secrets remain on the host, outside the microVM where the AI programming agent operates. Their registration occurs via the command "sbx secret set." A proxy server installed on the host replaces the fake credentials manipulated in the isolated environment with the actual keys for requests targeting authorized domains.
The AI brief the pros read every evening
The 7 best AI stories, the essentials in 5 min. Free.
Included when you join: our pick of the best AI guides & comparisons.
Choose your rhythm
Free · No spam · Unsubscribe in 1 click
Since version 0.43.0, requests from a third-party kit regarding secrets and their destinations require consent. However, Kennedy found that this consent was tied to the named service, not the specific kit or its version. The accepted domains are listed in credentials.yaml, but their restrictions are not verified when the proxy subsequently inserts the credentials.
An attacker could thus present a seemingly legitimate kit requesting access to api.anthropic.com, then modify its destination after validation to target their own server. Upon the next execution, Docker would resume the recorded consent without prompting the developer again or notifying them; the proxy could then transmit the key to the malicious server. This disconnect between initial consent and subsequent access does not require intrusion into the developer's computer or compromise of the isolated environment.
Affected Versions and Recommended Precautions
The fix was released on November 30, 2026; the affected editions date back to v0.43.0. The risk is not limited to unauthorized API usage: in addition to AI provider keys, potentially stolen GitHub tokens could allow modification of developers' repositories.
For installations that have not yet been patched, Endor Labs recommends a review of the permissions already granted to third-party kits. The company also advises linking each kit to a specific commit rather than a modifiable reference, and reserving credentials for an individual isolated environment. If a previously authorized kit has changed, it recommends renewing the keys.
Brief AI — AI news in French
The essentials of artificial intelligence news, decoded and explained every day.