Skip to content
NewA calmer, faster ZeroHour

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

The Hacker News ()4 min read1
Part of a story covered by 5 sourcesDocker patched Sandboxes flaw that reused AI API-key approvalsMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

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.

Key facts
  • 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.
Security assessment · AI, from the articlePublic proof of concept

Impact: Theft of stored provider API keys and tokens

ProductAffectedFixed in
Docker Sandboxes0.43.0 through versions before 0.55.00.55.0
What to do
  1. 1.Upgrade Docker Sandboxes to 0.55.0.
  2. 2.Remove third-party kit bindings in credentials.yaml and rotate those provider keys.
  3. 3.Pin kits to a fixed commit or store keys per sandbox with --sandbox.
Analyze CVE-2026-136998 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
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

The Hacker News

thehackernews.com

Read the full article at The Hacker News

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.