CVE-2025-9074: CWE-668 Exposure of Resource to Wrong Sphere in Docker Docker Desktop
A vulnerability was identified in Docker Desktop that allows local running Linux containers to access the Docker Engine API via the configured Docker subnet, at 192.168.65.7:2375 by default. This vulnerability occurs with or without Enhanced Container Isolation (ECI) enabled, and with or without the "Expose daemon on tcp://localhost:2375 without TLS" option enabled. This can lead to execution of a wide range of privileged commands to the engine API, including controlling other containers, creating new ones, managing images etc. In some circumstances (e.g. Docker Desktop for Windows with WSL backend) it also allows mounting the host drive with the same privileges as the user running Docker Desktop.
AI Analysis
Technical Summary
CVE-2025-9074 is a vulnerability classified under CWE-668 (Exposure of Resource to Wrong Sphere) affecting Docker Desktop version 4.25. The flaw arises because local Linux containers can access the Docker Engine API through the Docker subnet IP 192.168.65.7 on port 2375 by default. This access is possible even if Enhanced Container Isolation (ECI) is enabled or if the Docker daemon is not explicitly exposed on tcp://localhost:2375 without TLS, indicating a design or configuration oversight. The Docker Engine API controls critical Docker functions such as container lifecycle management, image handling, and resource allocation. An attacker controlling a local container can leverage this API access to execute privileged commands, including starting, stopping, or creating containers, pulling or deleting images, and potentially escalating privileges. In Docker Desktop for Windows environments using the WSL backend, the vulnerability additionally allows mounting the host filesystem with the same privileges as the Docker Desktop user, increasing the risk of host compromise. The vulnerability does not require prior authentication but does require local container access and some user interaction, making it a significant threat in multi-tenant or developer workstation scenarios. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H) reflects the high severity and broad impact on confidentiality, integrity, and availability. No public exploits have been reported yet, but the potential for misuse is high given the control over Docker engine operations. This vulnerability highlights the risks of insufficient isolation between containers and the Docker engine in desktop environments.
Potential Impact
The impact of CVE-2025-9074 is severe for organizations using Docker Desktop, particularly in development, testing, and CI/CD environments where local containers are common. Exploitation can lead to full control over the Docker engine, allowing attackers to manipulate containers and images, disrupt services, or deploy malicious containers. In Windows environments with WSL backend, attackers can escalate to host-level access by mounting the host filesystem, risking data theft, tampering, or further lateral movement. This vulnerability undermines container isolation, potentially enabling container breakout attacks that compromise the host system and other containers. Organizations relying on Docker Desktop for local development or internal tooling face risks of intellectual property theft, service disruption, and unauthorized access to sensitive data. The vulnerability also poses risks in multi-user systems or shared developer workstations where malicious containers could be introduced. Given the widespread use of Docker Desktop globally, the threat surface is extensive, and successful exploitation could lead to significant operational and security consequences.
Mitigation Recommendations
To mitigate CVE-2025-9074, organizations should: 1) Immediately update Docker Desktop to a patched version once available from Docker, as no patch links are currently provided but are expected soon. 2) Restrict local container access to trusted users only and avoid running untrusted containers on Docker Desktop environments. 3) Disable or tightly control any Docker daemon exposure settings, especially the 'Expose daemon on tcp://localhost:2375 without TLS' option, even though the vulnerability exists regardless of this setting. 4) Use Enhanced Container Isolation (ECI) and other container security features as additional defense layers, though they do not fully mitigate this issue. 5) Monitor network traffic on the Docker subnet (192.168.65.7:2375) for unauthorized API calls or unusual container activity. 6) In Windows environments with WSL backend, limit permissions and consider additional host-level security controls to prevent unauthorized filesystem mounting. 7) Employ runtime security tools that can detect anomalous container behavior or privilege escalations. 8) Educate developers and DevOps teams about the risks of running privileged or untrusted containers locally. 9) Consider isolating development environments or using virtual machines to reduce risk exposure. These targeted measures go beyond generic advice by focusing on controlling local container access, monitoring Docker API usage, and preparing for patch deployment.
Affected Countries
United States, Germany, United Kingdom, France, Japan, South Korea, China, India, Canada, Australia
CVE-2025-9074: CWE-668 Exposure of Resource to Wrong Sphere in Docker Docker Desktop
Description
A vulnerability was identified in Docker Desktop that allows local running Linux containers to access the Docker Engine API via the configured Docker subnet, at 192.168.65.7:2375 by default. This vulnerability occurs with or without Enhanced Container Isolation (ECI) enabled, and with or without the "Expose daemon on tcp://localhost:2375 without TLS" option enabled. This can lead to execution of a wide range of privileged commands to the engine API, including controlling other containers, creating new ones, managing images etc. In some circumstances (e.g. Docker Desktop for Windows with WSL backend) it also allows mounting the host drive with the same privileges as the user running Docker Desktop.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-9074 is a vulnerability classified under CWE-668 (Exposure of Resource to Wrong Sphere) affecting Docker Desktop version 4.25. The flaw arises because local Linux containers can access the Docker Engine API through the Docker subnet IP 192.168.65.7 on port 2375 by default. This access is possible even if Enhanced Container Isolation (ECI) is enabled or if the Docker daemon is not explicitly exposed on tcp://localhost:2375 without TLS, indicating a design or configuration oversight. The Docker Engine API controls critical Docker functions such as container lifecycle management, image handling, and resource allocation. An attacker controlling a local container can leverage this API access to execute privileged commands, including starting, stopping, or creating containers, pulling or deleting images, and potentially escalating privileges. In Docker Desktop for Windows environments using the WSL backend, the vulnerability additionally allows mounting the host filesystem with the same privileges as the Docker Desktop user, increasing the risk of host compromise. The vulnerability does not require prior authentication but does require local container access and some user interaction, making it a significant threat in multi-tenant or developer workstation scenarios. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H) reflects the high severity and broad impact on confidentiality, integrity, and availability. No public exploits have been reported yet, but the potential for misuse is high given the control over Docker engine operations. This vulnerability highlights the risks of insufficient isolation between containers and the Docker engine in desktop environments.
Potential Impact
The impact of CVE-2025-9074 is severe for organizations using Docker Desktop, particularly in development, testing, and CI/CD environments where local containers are common. Exploitation can lead to full control over the Docker engine, allowing attackers to manipulate containers and images, disrupt services, or deploy malicious containers. In Windows environments with WSL backend, attackers can escalate to host-level access by mounting the host filesystem, risking data theft, tampering, or further lateral movement. This vulnerability undermines container isolation, potentially enabling container breakout attacks that compromise the host system and other containers. Organizations relying on Docker Desktop for local development or internal tooling face risks of intellectual property theft, service disruption, and unauthorized access to sensitive data. The vulnerability also poses risks in multi-user systems or shared developer workstations where malicious containers could be introduced. Given the widespread use of Docker Desktop globally, the threat surface is extensive, and successful exploitation could lead to significant operational and security consequences.
Mitigation Recommendations
To mitigate CVE-2025-9074, organizations should: 1) Immediately update Docker Desktop to a patched version once available from Docker, as no patch links are currently provided but are expected soon. 2) Restrict local container access to trusted users only and avoid running untrusted containers on Docker Desktop environments. 3) Disable or tightly control any Docker daemon exposure settings, especially the 'Expose daemon on tcp://localhost:2375 without TLS' option, even though the vulnerability exists regardless of this setting. 4) Use Enhanced Container Isolation (ECI) and other container security features as additional defense layers, though they do not fully mitigate this issue. 5) Monitor network traffic on the Docker subnet (192.168.65.7:2375) for unauthorized API calls or unusual container activity. 6) In Windows environments with WSL backend, limit permissions and consider additional host-level security controls to prevent unauthorized filesystem mounting. 7) Employ runtime security tools that can detect anomalous container behavior or privilege escalations. 8) Educate developers and DevOps teams about the risks of running privileged or untrusted containers locally. 9) Consider isolating development environments or using virtual machines to reduce risk exposure. These targeted measures go beyond generic advice by focusing on controlling local container access, monitoring Docker API usage, and preparing for patch deployment.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Docker
- Date Reserved
- 2025-08-15T15:08:07.774Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 68a5d214ad5a09ad000516a8
Added to database: 8/20/2025, 1:48:04 PM
Last enriched: 2/27/2026, 4:27:14 AM
Last updated: 3/23/2026, 3:59:13 PM
Views: 975
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.