Brief AI
›

Docker fixes a vulnerability threatening developers' API keys

Code & Dev·Tom Levy·

Docker fixes a vulnerability threatening developers' API keys

Docker fixes a vulnerability threatening developers' API keys
Key Takeaways
1Docker has fixed CVE-2026-136998 in Docker Sandboxes 0.55.0.
2The reproduction conducted by Peyton Kennedy concerns Anthropic; the other 12 services have not been independently demonstrated.
3The sbx log does not mention credential injection.
Why it matters : a modified kit could hijack an existing authorization to send an API key to a server controlled by the attacker.

Docker has delivered a fix in Docker Sandboxes 0.55.0 for a high-severity vulnerability that could allow credential theft via a modified AI agent kit. Anthropic or OpenAI keys could be exposed, as well as GitHub tokens potentially granting write access to repositories.

The Anthropic Test Reveals Low-Visibility Exposure

Peyton Kennedy from Endor Labs discovered the vulnerability and reproduced its exploitation using a fictitious Anthropic key along with a locally installed witness server. The isolated environment sent a substitute value, which was replaced on the host with the key before the request was sent. Thus, the witness server received the identifier, while the user had consented to a different destination. The risk therefore includes the exposure of the secret in clear text, not just unauthorized API usage.

This confirmation pertains to the injection circuit of Anthropic. The 13 integrated services rely on a common mechanism, but no independent demonstration has been conducted for the other 12.

Traceability presents another limitation: the sbx policy log indicates that the connection is allowed, without mentioning the addition of an identifier. Upon reading it, a developer might observe seemingly ordinary network access without spotting the exposure of their key.

Consent Remains Tied to the Service

The mechanism is designed to keep secrets out of the microVM where the AI programming agent operates. With “sbx secret set,” the developer registers them on the host; a proxy then adds the keys to requests destined for authorized domains. In the isolated environment, only substitute values circulate. Since version 0.43.0, requests from third-party kits must have their identifiers and destinations approved.

The evening letterFree · 7 pm

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

Kennedy found that this permission is tied to the named service, not the specific kit or its version. The accepted domains are indeed listed in credentials.yaml, but their restrictions are not verified at the time the proxy adds the secret. The exploitation relies on this difference between the initial consent given and the operations subsequently permitted by Docker, without requiring access to the computer or compromising the isolated environment.

An attacker could present a seemingly legitimate kit requesting permission for api.anthropic.com, then change the destination during an innocuous-looking update. Upon launching this modified version, Docker would reuse the existing permission, without warning or new validation. The proxy would then add the actual key to requests directed toward the server chosen by the attacker.

Endor Labs Recommends Reviewing Permissions

Listed as CVE-2026-136998, the vulnerability receives a CVSS score of 8.2. It affects Docker Sandboxes starting from v0.43.0; the corrective version was released on November 30, 2026.

While awaiting the installation of the fix, Endor Labs recommends a review of the permissions granted to third-party kits and locking them to specific commits, rather than to references that may change. The company also advises limiting each identifier to an individual sandbox. Finally, it suggests renewing keys if a previously authorized kit may have been modified.

Brief AI — AI news in French

The essentials of artificial intelligence news, decoded and explained every day.