Executive Summary
In December 2026, security researcher Peyton Kennedy of Endor Labs disclosed CVE-2026-136998, a high-severity flaw in Docker Sandboxes affecting all versions prior to 0.55.0 across macOS, Windows, and Linux. The vulnerability resided in the product's consent system, introduced in version 0.43.0, which failed to re-validate approved destination domains at request time. A malicious or compromised third-party AI agent kit could silently update its target endpoints after receiving a one-time developer approval, redirecting real API keys—including Anthropic, OpenAI, GitHub, and Google credentials—to attacker-controlled servers without triggering any new prompt. Because approved secrets are stored globally by default, a single stolen GitHub token could yield write access to all developer repositories on the affected machine.
This incident highlights a rapidly maturing supply-chain threat vector targeting AI development toolchains. As agentic AI frameworks proliferate, attackers are exploiting the trust developers extend to packaged agent configurations, mirroring the dependency-confusion and typosquatting attacks that plagued npm and PyPI ecosystems. Regulatory bodies are increasingly scrutinizing AI pipeline security, making credential governance in CI/CD and AI sandbox environments a board-level concern.
Why This Matters Now
AI coding agents are now embedded in mainstream developer workflows, and their kit ecosystems lack the mature vetting infrastructure of traditional package registries. With agentic AI adoption surging in 2026, a single compromised kit update can silently harvest high-privilege API keys from thousands of developers simultaneously—exposing source code repositories, LLM billing accounts, and downstream production infrastructure with no user interaction beyond an initial approval click.
Attack Path Analysis
An attacker published a malicious AI agent kit to a public registry that, once approved by a developer inside Docker Sandboxes, exploited CVE-2026-136998 to bypass the credential binding enforcement and redirect real API keys to an attacker-controlled server on any subsequent sandbox creation. The attack required only a single one-time developer approval followed by a silent kit update, requiring no further interaction to silently exfiltrate high-value provider credentials such as Anthropic, OpenAI, and GitHub tokens in cleartext.
Kill Chain Progression
This analysis maps confirmed threat intelligence to the full cloud kill chain to show where defensive gaps would emerge as an attack progresses.
Initial Compromise
Description
The attacker published or compromised a third-party AI agent kit in a public registry or Git reference. A developer fetched and approved the kit via sbx create, granting it credential access to named API services. This constitutes a supply-chain compromise: the malicious artifact was introduced into the developer's trusted workflow under the guise of a legitimate kit update. The Docker Sandboxes consent system (introduced in v0.43.0) accepted the approval without binding it to a content digest, making the approval transferable to future kit versions.
Related CVEs
CVE-2026-136998
CVSS 5.6Docker Sandboxes versions 0.43.0 through 0.54.x fail to enforce the recorded destination domains when injecting API keys via the host-side proxy, allowing a malicious or compromised third-party agent kit to silently redirect real API credentials (Anthropic, OpenAI, GitHub, Google, etc.) to attacker-controlled servers after a single one-time developer approval, with no subsequent prompt or warning.
Affected Products:
Docker Docker Sandboxes (sbx) – >= 0.43.0, < 0.55.0
Exploit Status:
no public exploitReferences:
https://www.cve.org/CVERecord?id=CVE-2026-136998https://www.endorlabs.com/learn/cve-2026-136998-docker-sandboxeshttps://docs.docker.com/ai/sandboxes/release-noteshttps://docs.docker.com/ai/sandboxes/configuration/credentials/https://thehackernews.com/2026/12/docker-sandboxes-flaw-lets-malicious-ai.html
MITRE ATT&CK® Techniques
Supply Chain Compromise: Compromise Software Dependencies and Development Tools
Unsecured Credentials: Credentials In Files
Steal Application Access Token
Application Layer Protocol: Web Protocols
Exfiltration Over C2 Channel
Impair Defenses: Disable or Modify Tools
Valid Accounts: Default Accounts
Obtain Capabilities: Vulnerabilities
Potential Compliance Exposure
Mapping incident impact across multiple compliance frameworks.
PCI DSS 4.0 – Protection of Stored and Transmitted Credentials
Control ID: Requirement 3.4 / 3.5
NYDFS 23 NYCRR 500 – Access Privilege Management and Monitoring of Authorized Users
Control ID: Section 500.7 / 500.14
DORA (EU 2022/2554) – ICT Security — Access Control and Third-Party Risk Monitoring
Control ID: Article 9(4)(d) / Article 10
CISA Zero Trust Maturity Model 2.0 – Continuous Credential Validation and Least-Privilege Authorization
Control ID: Identity Pillar — Credential Management / Application Pillar — Authorization
NIS2 Directive (EU 2022/2555) – Supply Chain Security and Access Control Policies
Control ID: Article 21(2)(a) / 21(2)(d)
ISO/IEC 27001:2022 – Cryptography, Application Security, and Supply Chain Information Security
Control ID: Annex A 8.24 / A 8.26 / A 5.21
Sector Implications
Industry-specific impact of the vulnerabilities, including operational, regulatory, and cloud security risks.
Computer Software/Engineering
Docker Sandbox CVE-2026-136998 exposes software developers to supply-chain credential theft, enabling malicious AI agent kit updates to silently exfiltrate Anthropic, OpenAI, and GitHub API keys via unenforced egress policy bindings.
Information Technology/IT
IT teams deploying AI coding agents face supply-chain compromise risks as stolen GitHub tokens grant repository write access, requiring Zero Trust segmentation and egress enforcement aligned with NIST.800-53.SC-7 and ZTMM.Data controls.
Computer/Network Security
Security practitioners are directly implicated as Docker Sandbox's consent-binding flaw bypasses credential isolation architecture, undermining proxy-enforced key injection controls and exposing gaps in ZTMM.CrossCutting.Visibility and PCI.4.0.3.5.1 compliance posture.
Internet
Internet-platform AI service integrations including Anthropic, OpenAI, and Google face provider account compromise as stolen API keys redirect cleartext credentials to attacker-controlled servers, violating NIST.CSF.PR.DS-2 data-in-transit protection requirements.
Sources
- Docker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keyshttps://thehackernews.com/2026/12/docker-sandboxes-flaw-lets-malicious-ai.htmlVerified
- CVE-2026-136998 Docker Sandboxes Credential Injection Authorization Bypass - Endor Labs Technical Analysishttps://www.endorlabs.com/learn/cve-2026-136998-docker-sandboxesVerified
- CVE-2026-136998 Official CVE Record - CVE.orghttps://www.cve.org/CVERecord?id=CVE-2026-136998Verified
- Docker Sandboxes Release Notes - Version 0.55.0https://docs.docker.com/ai/sandboxes/release-notesVerified
- Docker Sandboxes Credential Configuration Documentationhttps://docs.docker.com/ai/sandboxes/configuration/credentials/Verified
Frequently Asked Questions
Cloud Native Security Fabric Mitigations and ControlsCNSF
Based on the attack progression modeled above, these are the defensive controls that would constrain each stage.
Aviatrix Zero Trust CNSF is relevant here because the attack exploited the absence of network-layer controls to silently redirect credential injection traffic to an attacker-controlled server across all developer sandboxes. By enforcing workload-level segmentation and controlled egress boundaries, Aviatrix would likely reduce the attacker's ability to reach arbitrary external destinations and limit the blast radius of a compromised kit approval.
Control: Cloud Native Security Fabric (CNSF)
Mitigation: Aviatrix CNSF fabric-level visibility into workload-to-external-registry communication could likely surface anomalous outbound connection patterns associated with the malicious kit fetch, reducing the window in which the compromised artifact operates undetected across the developer environment.
Control: Zero Trust Segmentation
Mitigation: Zero Trust segmentation policies would likely constrain the kit's ability to self-modify its effective network reach by scoping sandbox workload access to explicitly defined and identity-verified destinations, reducing the privilege scope the attacker could quietly inherit through a kit update.
Control: East-West Traffic Security
Mitigation: East-west enforcement between sandbox workload contexts would likely reduce the attacker's ability to traverse from one compromised sandbox to adjacent workloads, constraining lateral credential access to the initially affected context rather than allowing unrestricted reach across all co-located sandboxes.
Control: Multicloud Visibility & Control
Mitigation: Aviatrix multicloud visibility would likely surface the anomalous outbound connection to the attacker-controlled server by correlating sandbox workload traffic against known-good destination baselines, reducing the attacker's ability to maintain a fully unmonitored command channel across sandbox creation events.
Control: Egress Security & Policy Enforcement
Mitigation: Egress policy enforcement would likely constrain the sandbox's ability to transmit credential material to unrecognized external destinations, reducing the volume and frequency of successful exfiltration events that occurred automatically on each sandbox creation cycle.
Had earlier-stage controls reduced the attacker's egress reach and lateral access, the credential theft would likely have been limited to a narrower set of sandboxes rather than spanning all co-located workloads, reducing the number of provider accounts exposed and the overall financial and intellectual property risk to the affected developer.
Impact at a Glance
Affected Business Functions
- AI/ML Developer Toolchain and CI/CD Pipeline Integrity
- Source Code Repository Access and Version Control (GitHub write access via stolen tokens)
- Third-Party API Service Account Security (OpenAI, Anthropic, Google credentials)
- Software Supply Chain Trust and Agent Kit Distribution
Estimated downtime: N/A
Estimated loss: N/A
High-value developer API keys and secrets stored globally via sbx secret set are at risk of silent exfiltration to attacker-controlled servers. Affected credential categories include: Anthropic API keys (LLM service billing and usage), OpenAI API keys (LLM service billing and usage), GitHub personal access tokens (potentially granting write access to private and public repositories, CI/CD secrets, and organizational codebases), and Google API credentials. Because secrets are global by default, a single compromised kit approval exposes all sandboxes on the affected machine. A stolen GitHub token with write scope could enable code injection, backdooring of repositories, or exfiltration of proprietary source code. The approval binding persists even after sandbox deletion, extending the exposure window indefinitely until manually revoked or the user upgrades to 0.55.0 and rotates affected keys. No confirmed real-world credential theft has been reported as of disclosure.
Recommended Actions
Key Takeaways & Next Steps
- • Apply CNSF Egress Security & Policy Enforcement (ZTMM.Data, NIST.800-53.SC-18) to enforce FQDN-level allowlisting on all outbound proxy traffic from developer workstations and sandboxed build environments, ensuring API key injection can only reach approved, cryptographically verified destinations and blocking redirection to attacker-controlled servers.
- • Deploy Cloud Native Security Fabric (CNSF) inline enforcement and anomaly detection (ZTMM.CrossCutting.Automation, NIST.800-53.SI-4) to identify agentic AI workloads making credential-bearing requests to novel or unapproved external endpoints, treating any deviation from a content-digest-pinned kit's declared destinations as a policy violation requiring human review.
- • Enforce Zero Trust Segmentation (ZTMM.Network, NIST.800-53.AC-6) around developer sandbox environments so that each sandbox operates under a least-privilege identity with scoped, per-sandbox secret bindings rather than global host-level credentials, containing the blast radius of any single kit compromise to a single workload.
- • Enable Multicloud Visibility & Control (ZTMM.CrossCutting.Visibility, NIST.800-53.AU-6) with centralized policy logging that records not only whether a connection was permitted but also whether a credential was injected, the destination FQDN, and the kit content digest at time of injection, so that silent post-approval redirections are surfaced as anomalous events.
- • Activate Encrypted Traffic (HPE) controls (ZTMM.Data, NIST.CSF.PR.DS-2) to ensure that any API key material traversing proxy or inter-process channels is never transmitted in cleartext, and pair this with Inline IPS (Suricata) signature rules (NIST.800-53.SI-4) targeting known patterns of credential exfiltration over HTTP to reduce the window between kit update and detection of unauthorized key transmission.



