CVE-2026-12039
Received Received - Intake
Docker Sandbox DNS Exfiltration via Unrestricted DNS

Publication date: 2026-06-18

Last updated on: 2026-06-18

Assigner: Docker Inc.

Description
Docker Sandboxes (sbx) enforces an HTTP/S-only egress allowlist but does not apply it to DNS resolution: the per-network embedded DNS server forwards any queried name to the host resolver whenever the network is internet-connected, without consulting the policy. A workload inside a sandbox, which the threat model treats as untrusted, can therefore encode data into DNS labels for an attacker-controlled domain and exfiltrate it through a DNS covert channel, bypassing the configured allowlist.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-18
Last Modified
2026-06-18
Generated
2026-06-19
AI Q&A
2026-06-18
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
docker sbx 0.33.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-923 The product establishes a communication channel to (or from) an endpoint for privileged or protected operations, but it does not properly ensure that it is communicating with the correct endpoint.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Compliance Impact

This vulnerability allows data exfiltration through a DNS covert channel by bypassing the configured HTTP/S-only egress allowlist in Docker Sandboxes. Such unauthorized data leakage could potentially lead to non-compliance with data protection regulations like GDPR and HIPAA, which require strict controls over sensitive data transmission and network security.

Because the vulnerability enables untrusted workloads to circumvent network policies and exfiltrate data without detection, organizations using Docker Sandboxes may face increased risk of data breaches or unauthorized data disclosures, impacting their compliance posture.

Executive Summary

This vulnerability exists in Docker Sandboxes (sbx), where an HTTP/S-only egress allowlist is enforced but does not apply to DNS resolution.

The embedded DNS server forwards any DNS query to the host resolver if the network is internet-connected, without checking the allowlist policy.

As a result, an untrusted workload inside a sandbox can encode data into DNS labels for an attacker-controlled domain and exfiltrate data through a DNS covert channel, bypassing the configured allowlist.

Detection Guidance

This vulnerability involves DNS resolution bypassing the HTTP/S-only egress allowlist by encoding data into DNS labels for attacker-controlled domains, enabling data exfiltration via DNS covert channels.

Detection on your network or system would involve monitoring DNS queries originating from Docker Sandboxes for unusual or suspicious domain names that could be used for data exfiltration.

Since the vulnerability relates to DNS queries bypassing policy, commands to monitor DNS traffic or logs on the host or sandbox network interfaces could help detect exploitation attempts.

  • Use network packet capture tools like tcpdump or Wireshark to filter DNS traffic, e.g., `tcpdump -i <interface> port 53`.
  • Inspect DNS query logs if available on your DNS server or embedded DNS resolver.
  • Check sandbox network policies and logs for DNS requests to unusual or external domains.
Mitigation Strategies

Immediate mitigation steps include restricting or monitoring DNS resolution from Docker Sandboxes to prevent unauthorized data exfiltration.

Since the vulnerability arises because the embedded DNS server forwards queries to the host resolver without policy enforcement, applying stricter network isolation and DNS resolution restrictions is recommended.

  • Update Docker Sandboxes to the latest version that includes enhanced network isolation and DNS resolution restrictions as noted in recent releases.
  • Configure sandbox network policies to explicitly control or block DNS queries to external domains.
  • Monitor and audit DNS traffic from sandboxes for suspicious activity.
  • Consider disabling or limiting sandbox internet connectivity if not required.
Impact Analysis

This vulnerability allows an attacker to bypass network egress restrictions by using DNS queries to exfiltrate data covertly.

An untrusted workload running inside a Docker sandbox could leak sensitive information or data to an attacker-controlled domain via DNS, even if HTTP/S traffic is restricted.

This could lead to data breaches, unauthorized data disclosure, and compromise of confidentiality within environments using Docker Sandboxes.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-12039. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart