- 2 min read
- 2 sources
- Reported by independent sources
Summary
Docker fixed a vulnerability in its Sandboxes product, which runs AI coding agents in isolated environments, that let malicious updates to previously approved third-party agent kits redirect developers' API keys to attacker-controlled servers. The flaw, tracked as CVE-2026-136998, affected versions before 0.55.0.
Key facts
- Vulnerability: CVE-2026-136998 in Docker Sandboxes versions before 0.55.0.
- Impact: Could leak API keys for 13 built-in services, including Anthropic, OpenAI, and GitHub.
- Root Cause: A flaw in the consent system introduced in version 0.43.0, where approved destinations for keys were not enforced on updates.
- Severity: CVSS 3.1 score of 8.2 (High), with a 5.6 (Medium) vendor score.
- Fix: Docker released version 0.55.0 to enforce destination checks for API keys and OAuth.
Details
The flaw allowed a third-party agent kit to steal API keys after a developer initially approved it. The problem occurred because the approval mechanism in version 0.43.0 recorded the service and domains the developer agreed to, but the subsequent run only checked if a binding existed for the service name. The proxy then sent the real key to whatever domains the current version of the kit named, even if those were not the originally approved ones. The researcher demonstrated this by updating a kit approved with api.anthropic.com to point to a test server instead. The next sandbox creation did not prompt the developer, and the proxy delivered the dummy key in cleartext. The vulnerability affected the local product, and cloud sandboxes were noted as potentially sharing the same authorization logic.
Why it matters
For developers using AI coding agents, this flaw undermines the security promise of keeping raw keys out of the agent's reach. A malicious kit could steal a GitHub token, granting write access to repositories, or an AI provider key, incurring charges to the developer's account. The flaw means that a single, one-time approval can be subverted by a single line change in a kit's next version. This creates a risk where developer credentials are exposed without any new prompt or warning in logs, potentially leaving organizations unaware of the breach until the damage is done.
What's next
Docker has released version 0.55.0 to address the flaw by enforcing the destinations approved for API keys and OAuth separately. The researcher also recommended that users review their approvals file, pin kits to fixed commits, and rotate keys if a kit's configuration or destinations have changed. Open questions remain regarding whether cloud sandboxes share the same authorization logic and whether the vendor will implement additional logging tied to approvals.
Sources
Original source: The Hacker News
Also reported by: BleepingComputer
Related stories
Industry ·
Alibaba Cloud Prompt Injects Agents for Security Data
Alibaba Cloud's command-line tool began returning prompts asking AI agents to send sensitive local and system data as an anti-abuse measure, a security researcher reports.
1 source
Research ·
Hidden Infostealers in Browser Extensions Target Roblox
A YouTube campaign uses deceptive videos to push malicious Chrome extensions that steal sensitive user data.
1 source · Stated by the source itself
Launch ·
Python RAT and Native Backdoor in SoftwareOK Attack Chain
Microsoft identifies a compromise of Q-Dir and DesktopOK installers that installs a persistent Python RAT and a native backdoor.
1 source · Stated by the source itself
Industry ·
UK Admits Secret Order to Apple
A court ruling forces the UK government to acknowledge it served Apple with a secret decryption order.
1 source
Found an error? Report it.