Docker Patches CVE-2026-136998 in Docker Sandboxes to Prevent API Credential Leakage via Malicious AI Agent Packages
AI coding · Cybersecurity and privacy
Docker released Docker Sandboxes version 0.55.0 to resolve vulnerability CVE-2026-136998. The flaw stemmed from incomplete destination checks during credential authorization, which could allow attackers to exfiltrate developer API keys to unauthorized servers through package updates without triggering re-authorization. Affecting version 0.43.0 and later across macOS, Windows, and Linux, it impacts 13 built-in services including OpenAI and GitHub; no active exploitation has been reported.
Docker released Docker Sandboxes version 0.55.0 on November 30 to patch security vulnerability CVE-2026-136998. Docker Sandboxes runs AI coding agents within isolated virtual machines while retaining API credentials on the host machine to be injected by a proxy. Researchers from cybersecurity firm Endor Labs discovered an authorization inspection defect: while the system logged user-approved services and domains, it failed to verify the actual destination server in subsequent requests. According to researchers, an attacker could release a legitimate package to secure initial authorization, then update the package configuration to redirect credential injection to a malicious server. When users relaunch the updated package without receiving new authorization prompts, host-side credentials could be transmitted externally. The attack was successfully reproduced in testing, though no in-the-wild exploitation has been observed. The vulnerability affects version 0.43.0 and later across macOS, Windows, and Linux, impacting credential injection for 13 built-in services including OpenAI and GitHub.
Key takeaways
- Docker released version 0.55.0 to patch CVE-2026-136998, enforcing destination validation for API keys and OAuth tokens.
- The vulnerability permitted credential exfiltration via package updates without new prompts due to missing destination checks.
- Docker Sandboxes version 0.43.0 and newer across macOS, Windows, and Linux are affected, touching 13 integrated services.
- Endor Labs demonstrated the attack with test credentials, and no active exploitation has been detected to date.
Source:iThome Read the original ↗
Prepared, checked and automatically published by AI; not individually reviewed by a human. Translation checked by AI.