Docker Sandboxes before 0.55.0 can leak API keys via kit updates
Original title: Docker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys
After one kit approval, a later kit version can receive real provider keys with no new prompt; no attacks are reported.
Endor Labs researcher Peyton Kennedy found CVE-2026-136998 in Docker Sandboxes, which runs AI coding agents in virtual machines. A binding written since version 0.43.0 recorded approved domains but was never checked, so a later third-party kit version could receive real Anthropic, OpenAI, or GitHub keys. Docker fixed this in 0.55.0. No attacks are reported; cloud sandboxes were not confirmed affected.
Unconfirmed: Whether cloud sandboxes shared the affected authorization logic has not been established.
- Every version before 0.55.0 on macOS, Windows, and Linux is affected.
- The consent bug was introduced in 0.43.0, released September 15.
- Kennedy rates it 8.2 High; the vendor's CVSS 4.0 score is 5.6 Medium.
- Secrets set with sbx secret set are global by default.
- Review ~/.config/sbx/credentials.yaml and rotate keys for changed third-party kits.
Impact: Theft of stored provider API keys and 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.Remove third-party kit bindings in credentials.yaml and rotate those provider keys.
- 3.Pin kits to a fixed commit or store keys per sandbox with --sandbox.
- 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
4 min read at thehackernews.com
A flaw in Docker Sandboxes, which runs AI coding agents inside isolated virtual machines, meant a third-party agent kit could steal the API keys the product is designed to keep out of the agent's reach. After one approval from the developer, a later update to that kit could send their real Anthropic, OpenAI, or GitHub key to a server the attacker controls, with no new prompt, Endor Labs
thehackernews.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.