Docker Sandboxes Flaw Let AI Agent Kit Updates Reuse Approval to Redirect Credentials
Emerging Technology Risk · 13 sources · Updated 18h ago · First seen Dec 1, 2026

Docker fixed CVE-2026-136998, a credential-authorization vulnerability in Docker Sandboxes that could allow a malicious third-party AI agent kit update to redirect developer credentials without renewed consent. Introduced in version 0.43.0, the flaw allowed updated kits to reuse earlier service-level approvals while sending credentials to new destinations through Docker’s host-side authentication proxy. Docker released the fix in version 0.55.0 on November 30, 2026; the issue did not involve a virtual-machine isolation escape.
Endor Labs demonstrated the vulnerability using a dummy Anthropic API key and identified 12 other built-in services using the same credential-handling process, potentially exposing credentials for services including OpenAI and GitHub. Those additional services were not separately tested, and the disclosure did not document theft of real credentials. Developers should upgrade to version 0.55.0 or later, review third-party kit approvals, pin reviewed kit versions, and rotate affected credentials if an approved kit changed unexpectedly.
How do I know if I’m affected?
Start a thread with Mallory to assess this story against your environment.
Sign in to start a thread with MalloryAffected configurations and checks
CVE-2026-136998
- Product and versions: Local Docker Sandboxes, including
sbxandsandboxd, versions 0.43.0 through versions before 0.55.0 are affected. The CVE record lists macOS, Linux, and Windows. Version 0.55.0 is explicitly fixed; no backport is identified in the supplied evidence. Earlier versions lack this specific defect, but their broader credential exposure was not assessed. Cloud sandboxes use a separate secret store; whether they shared the vulnerable authorization logic is unknown. CVE record, research, cloud-scope caveat - Required conditions are cumulative: an affected installation has a stored provider credential; an operator previously approved the corresponding service for a third-party kit; an attacker-controlled kit changes the credential-injection destination; and the operator subsequently launches that modified kit. The attacker needs control over kit content or its delivery, not an account or foothold on the workstation. The local CVSS attack vector describes delivery through a developer-fetched kit, not required attacker access to the computer. CVE record, research
- Defaults and persistence: Initial interactive consent defaults to decline, but granted approvals persist after sandbox deletion. Credentials set with
sbx secret setare global by default. Sandbox-scoped credentials reduce potential scope but do not prevent this flaw: the demonstration used one. Raw credentials remain on the host; guest access to them, VM escape, TLS interception, and privileged network access are not prerequisites. Research
Read-only inspection:
- Check the installed Docker Sandboxes version in local software inventory or installed-version information. A version from 0.43.0 to below 0.55.0 establishes vulnerable code presence, not proof of disclosure. Docker Engine or Docker Desktop presence alone does not establish exposure. CVE record, product-scope guidance
- Review
~/.config/sbx/credentials.yaml, or%APPDATA%\sbx\credentials.yamlon Windows. This file contains approvals, not secret values. Identify service bindings granted to third-party kits and compare their approved destinations with reviewed kit content. An approved domain in this file is not evidence that vulnerable versions enforced it. Inspection guidance, research - Inspect kit
injectdomains,permissions.network.allow, source references, and available revision history. A changed destination combined with prior service approval and subsequent execution warrants credential-exposure investigation. Mutable tags, branches, and directories allow content to change under the same reference; approval transfer between different kits requesting the same service was also reported, but not separately demonstrated. Research - Correlate kit execution and destination changes with egress records and provider activity. Policy logs can mark the connection allowed without showing credential injection; clean local logs do not establish that credentials remained private. Research, logging limits
Supported limits: The demonstrated system was macOS 15.6 arm64, Docker Sandboxes 0.43.0 build 79805a6e3c6667520dc2da4f6bdeddae9b700969. That is not a restriction to this build or architecture. Only Anthropic was demonstrated with a dummy credential; twelve other integrations share the injection path but were not separately tested. Built-in-agent impersonation failed in testing, but this does not make provider credentials safe when authorized through third-party kits. Research
Other vulnerabilities mentioned in release context
- CVE-2026-126139: Version 0.54.0 fixes restart handling when a saved mount source resolves to a different directory. Read-only review can compare saved mount sources with their current resolved directories. Introduction version, platform limits, and attacker prerequisites are not supplied. Docker release notes
- CVE-2026-126330: Version 0.53.0 fixes an automatically assigned port becoming published again after it was unpublished and the sandbox restarted. Review current published ports against intended exposure and restart history; do not restart a production sandbox merely to test this. Introduction version, binding scope, and attacker reachability requirements are unknown. Docker release notes
- CVE-2026-103916: The research mentions an earlier file-copy flaw allowing access outside approved folders, fixed in 0.51.0. Affected version ranges and detailed configuration prerequisites are not supplied, so applicability beyond that description is unknown. Research
Why it matters
Developers using vulnerable Docker Sandboxes could lose provider credentials, enabling unauthorized AI charges or repository access and modification within the stolen token’s permissions.
Exposure requires prior service approval followed by execution of a modified third-party agent kit. Globally stored credentials can be shared across multiple sandboxes, increasing the consequences of one disclosure. Repository modification depends on token write permissions; it is not an unconditional outcome. The demonstrated attack crossed the credential-authorization boundary without escaping the virtual machine. Endor Labs research
The researcher demonstrated disclosure using a dummy Anthropic key, not a real account credential. Twelve additional integrations share the credential-injection path but were not separately tested. No exploitation in the wild or confirmed real-credential theft is established by the supplied reporting. Research, exploitation reporting
Industry-specific impact is not established. The affected population is developers using the relevant Docker Sandboxes workflow; no affected organization or targeted industry is identified. Geography-specific impact is not established. The sources identify affected platforms and a laboratory demonstration, not affected countries or geographic targeting. Research, CVE record


