Docker Sandboxes flaw can leak AI API keys via kit updates
Original title: Docker Sandboxes bug could leak AI API keys via malicious updates
CVE-2026-136998, introduced in 0.43.0, was fixed in Docker Sandboxes 0.55.0 on November 30.
Endor Labs found that Docker Sandboxes reuses a developer’s approval of an AI service and does not recheck the destination when a third-party agent kit is updated. A malicious update can make the proxy send the real API key to an attacker-controlled host without a new prompt, and the policy log may omit that a credential was injected. Docker fixed destination checks in 0.55.0. The vulnerable code, added in 0.43.0, is shared by 13 built-in services, including Anthropic, OpenAI and GitHub.
Unconfirmed: The report does not say attackers have used the flaw outside the researcher’s demonstration.
- Payton Kennedy of Endor Labs demonstrated the issue with a dummy Anthropic key.
- Bindings with no approved destinations are now treated as missing.
- A stolen provider key can incur charges; a GitHub token can reach in-scope repositories.
- Users should review earlier kit approvals and rotate keys after suspicious destination changes.
- The policy log can record an allowed connection without showing credential injection.
Impact: Leak of AI API keys or GitHub tokens
| Product | Affected | Fixed in |
|---|---|---|
| Docker Sandboxes | 0.43.0 through versions before 0.55.0 | 0.55.0 |
- 1.Upgrade Docker Sandboxes to 0.55.0.
- 2.Review credential approvals previously granted to third-party kits.
- 3.Rotate keys if a kit’s configuration or destination changed suspiciously.
- CVEs
- CVE-2026-136998
- Vendors
- Docker
- Products
- Docker Sandboxes
- Organizations
- Endor Labs
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-136998 | Credential disclosure in Docker Sandboxes before 0.55.0 | 5.6 | — |
From the original article
2 min read at bleepingcomputer.com
A vulnerability in Docker Sandboxes, a tool for running AI coding agents in isolated environments, could leak developers' API keys to an attacker distributing malicious updates to third-party agent kits. [...]
By Bill Toulas · bleepingcomputer.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.