Skip to main content
Vulnerability Database/CVE-2026-105570

CVE-2026-105570: Docker Sandboxes OAuth Bypass Vulnerability

CVE-2026-105570 is an authentication bypass flaw in Docker Sandboxes affecting OAuth token handling. Attackers can exploit case-sensitive hostname checks to expose managed credentials. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-105570 Overview

CVE-2026-105570 affects Docker Sandboxes, where OAuth token-endpoint hostname comparisons used case-sensitive matching while DNS routing treated hostnames case-insensitively. Untrusted code inside a sandbox can supply a case-variant hostname to reach the genuine OAuth provider endpoint while bypassing the response-masking logic that protects host-managed credentials. If a user completes the OAuth flow against the case-variant host, provider access and refresh tokens are returned unmasked to the sandboxed workload. The flaw is categorized as improper handling of case sensitivity [CWE-178].

Critical Impact

Sandboxed code can exfiltrate unmasked OAuth access and refresh tokens for host-managed credentials, enabling impersonation of the user against the connected provider.

Affected Products

  • Docker Sandboxes (Docker AI Sandboxes credential injection feature)
  • Workloads using host-managed OAuth credential injection
  • Environments that permit untrusted code execution inside sandboxes

Discovery Timeline

  • 2026-10-08 - CVE-2026-105570 published to NVD
  • 2026-10-08 - Last updated in NVD database

Technical Details for CVE-2026-105570

Vulnerability Analysis

Docker Sandboxes inject host-managed OAuth credentials into sandboxed workloads and mask provider responses to prevent raw tokens from leaving the trust boundary. The masking decision depends on matching the OAuth token endpoint hostname against an allowlist. That comparison is performed case-sensitively, while the underlying DNS routing layer resolves and forwards requests case-insensitively. The mismatch creates a parsing differential that an attacker inside the sandbox can abuse.

The vulnerability requires local execution context inside the sandbox and user interaction to complete the OAuth flow. Confidentiality impact is high because provider access and refresh tokens are disclosed in cleartext to the sandboxed process. Integrity and availability of the sandbox host itself are not directly affected, but disclosed tokens can be replayed against the external provider.

Root Cause

The root cause is inconsistent hostname normalization between two components in the same request path. The masking policy treats Provider.Example.com and provider.example.com as different hosts, while DNS and HTTP routing treat them as equivalent. Any time a security decision and a transport decision use different canonicalization rules for the same identifier, an attacker can craft input that satisfies the transport layer while evading the security check.

Attack Vector

An attacker-controlled process inside a Docker Sandbox initiates an OAuth request to a case-variant of a legitimate token endpoint hostname. The sandbox routing layer resolves the hostname and forwards the request to the real provider. The masking logic fails to match the case-variant against its allowlist and leaves the response unmodified. When the user completes the OAuth consent flow, the provider returns valid access and refresh tokens, which are delivered unmasked to the sandboxed process. The attacker then exfiltrates the tokens for offline use against the provider.

No verified public exploit code is available. See the Docker Credential Injection Guide for the intended credential-handling design.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-105570

Indicators of Compromise

  • Outbound sandbox HTTP requests to OAuth token endpoints with mixed-case or non-canonical hostnames (for example OAuth2.Googleapis.com instead of oauth2.googleapis.com).
  • Sandbox process logs showing OAuth response bodies containing fields such as access_token or refresh_token reaching workload code.
  • Provider-side audit events showing token issuance followed by API calls from unexpected source addresses or user agents.

Detection Strategies

  • Compare the Host header and SNI value of outbound sandbox requests to a canonical lowercase allowlist and alert on any case mismatch.
  • Inspect sandbox egress for OAuth2 response payloads reaching workload processes rather than the host credential broker.
  • Correlate OAuth token issuance events from identity providers with the originating sandbox workload identity to spot anomalous token custody.

Monitoring Recommendations

  • Enable verbose logging on the sandbox credential-injection proxy and retain hostname, path, and masking-decision metadata.
  • Monitor refresh-token usage patterns at the OAuth provider for sessions originating from Docker Sandbox workloads.
  • Alert on new or unapproved OAuth client activity against providers configured for host-managed credentials.

How to Mitigate CVE-2026-105570

Immediate Actions Required

  • Update Docker Sandboxes to the latest patched release once published by Docker and verify the credential-injection proxy performs case-insensitive hostname matching.
  • Revoke and reissue any OAuth refresh tokens that may have been exposed to untrusted sandbox workloads since the feature was enabled.
  • Restrict sandbox usage to trusted code until the fixed version is deployed, especially for sandboxes with host-managed credentials attached.

Patch Information

Refer to the Docker AI Sandboxes documentation and Docker security advisories for the fixed release that normalizes hostname comparisons in the credential-masking layer. Confirm the running sandbox runtime version matches or exceeds the vendor-specified patched build.

Workarounds

  • Disable host-managed OAuth credential injection for sandboxes that execute untrusted or AI-generated code.
  • Configure sandbox egress policies to allow only exact, lowercase hostnames for approved OAuth providers and reject case-variants at the network layer.
  • Scope OAuth clients used with sandboxes to minimum required permissions and short token lifetimes to reduce the value of any disclosed token.
bash
# Example egress allowlist enforcing canonical lowercase hostnames
# Reject any outbound request whose Host header does not match exactly
iptables -A OUTPUT -m string --algo bm --string "Host: oauth2.googleapis.com" -j ACCEPT
iptables -A OUTPUT -p tcp --dport 443 -m string --algo bm --string "Host: " -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.