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 critical vulnerability affecting Docker Desktop version 4.25, categorized under CWE-668 (Exposure of Resource to Wrong Sphere). This flaw allows local Linux containers running within Docker Desktop to access the Docker Engine API through the default Docker subnet IP 192.168.65.7 on port 2375. Notably, this access is possible regardless of whether Enhanced Container Isolation (ECI) is enabled or the "Expose daemon on tcp://localhost:2375 without TLS" option is configured. The Docker Engine API is a powerful interface that controls container lifecycle operations, image management, and other privileged Docker functions. Exploiting this vulnerability enables an attacker with access to a container to execute privileged commands against the Docker daemon, including creating, modifying, or deleting containers and images. In environments such as Docker Desktop for Windows using the WSL backend, the vulnerability further permits mounting the host filesystem with the same privileges as the user running Docker Desktop, significantly increasing the risk of host compromise. The vulnerability has a CVSS 4.0 base score of 9.3, reflecting its critical severity due to high impact on confidentiality, integrity, and availability, combined with relatively low attack complexity and no required privileges or authentication. Although no known exploits are currently reported in the wild, the potential for abuse is substantial given the widespread use of Docker Desktop in development and production environments. The vulnerability arises from improper resource isolation, allowing containers to interact with the Docker daemon in unintended ways, breaking the expected security boundaries between containers and the host system.
Potential Impact
For European organizations, the impact of CVE-2025-9074 can be severe. Docker Desktop is widely used by developers and IT teams across Europe for containerized application development and testing. Exploitation of this vulnerability could lead to unauthorized control over Docker containers and the host system, enabling attackers to escalate privileges, deploy malicious containers, exfiltrate sensitive data, or disrupt services. In regulated industries such as finance, healthcare, and critical infrastructure, such unauthorized access could violate compliance requirements (e.g., GDPR, NIS Directive) and cause significant operational and reputational damage. The ability to mount host drives with user-level privileges on Windows systems further increases the risk of lateral movement and persistent compromise within corporate networks. Additionally, organizations relying on Docker Desktop for continuous integration/continuous deployment (CI/CD) pipelines may face supply chain risks if attackers manipulate container images or deployment processes. The vulnerability's presence in a popular developer tool means that even non-production environments could become entry points for attackers targeting broader enterprise infrastructure.
Mitigation Recommendations
To mitigate CVE-2025-9074, European organizations should take the following specific actions: 1) Immediately update Docker Desktop to a patched version once available from the vendor, as no patch links are currently provided but should be prioritized upon release. 2) Restrict network access to the Docker Engine API by configuring firewall rules or network policies to block access to 192.168.65.7:2375 from containers and untrusted sources. 3) Disable any settings that expose the Docker daemon over TCP without TLS, even if the vulnerability occurs independently of this setting, to reduce attack surface. 4) Implement strict container isolation policies and avoid running untrusted or unnecessary containers on developer machines. 5) For Windows environments using WSL backend, review and limit permissions related to host drive mounting and consider using alternative container runtimes or hardened configurations. 6) Monitor Docker daemon logs and network traffic for unusual API calls or container behavior indicative of exploitation attempts. 7) Educate developers and IT staff about the risks of running privileged containers and the importance of applying security updates promptly. 8) Consider deploying runtime security tools that can detect and block unauthorized Docker API usage. These measures go beyond generic advice by focusing on network-level restrictions, configuration hardening, and operational monitoring tailored to the specifics of this vulnerability.
Affected Countries
Germany, France, United Kingdom, Netherlands, Sweden, Finland, Belgium, Italy, Spain
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
Technical Analysis
CVE-2025-9074 is a critical vulnerability affecting Docker Desktop version 4.25, categorized under CWE-668 (Exposure of Resource to Wrong Sphere). This flaw allows local Linux containers running within Docker Desktop to access the Docker Engine API through the default Docker subnet IP 192.168.65.7 on port 2375. Notably, this access is possible regardless of whether Enhanced Container Isolation (ECI) is enabled or the "Expose daemon on tcp://localhost:2375 without TLS" option is configured. The Docker Engine API is a powerful interface that controls container lifecycle operations, image management, and other privileged Docker functions. Exploiting this vulnerability enables an attacker with access to a container to execute privileged commands against the Docker daemon, including creating, modifying, or deleting containers and images. In environments such as Docker Desktop for Windows using the WSL backend, the vulnerability further permits mounting the host filesystem with the same privileges as the user running Docker Desktop, significantly increasing the risk of host compromise. The vulnerability has a CVSS 4.0 base score of 9.3, reflecting its critical severity due to high impact on confidentiality, integrity, and availability, combined with relatively low attack complexity and no required privileges or authentication. Although no known exploits are currently reported in the wild, the potential for abuse is substantial given the widespread use of Docker Desktop in development and production environments. The vulnerability arises from improper resource isolation, allowing containers to interact with the Docker daemon in unintended ways, breaking the expected security boundaries between containers and the host system.
Potential Impact
For European organizations, the impact of CVE-2025-9074 can be severe. Docker Desktop is widely used by developers and IT teams across Europe for containerized application development and testing. Exploitation of this vulnerability could lead to unauthorized control over Docker containers and the host system, enabling attackers to escalate privileges, deploy malicious containers, exfiltrate sensitive data, or disrupt services. In regulated industries such as finance, healthcare, and critical infrastructure, such unauthorized access could violate compliance requirements (e.g., GDPR, NIS Directive) and cause significant operational and reputational damage. The ability to mount host drives with user-level privileges on Windows systems further increases the risk of lateral movement and persistent compromise within corporate networks. Additionally, organizations relying on Docker Desktop for continuous integration/continuous deployment (CI/CD) pipelines may face supply chain risks if attackers manipulate container images or deployment processes. The vulnerability's presence in a popular developer tool means that even non-production environments could become entry points for attackers targeting broader enterprise infrastructure.
Mitigation Recommendations
To mitigate CVE-2025-9074, European organizations should take the following specific actions: 1) Immediately update Docker Desktop to a patched version once available from the vendor, as no patch links are currently provided but should be prioritized upon release. 2) Restrict network access to the Docker Engine API by configuring firewall rules or network policies to block access to 192.168.65.7:2375 from containers and untrusted sources. 3) Disable any settings that expose the Docker daemon over TCP without TLS, even if the vulnerability occurs independently of this setting, to reduce attack surface. 4) Implement strict container isolation policies and avoid running untrusted or unnecessary containers on developer machines. 5) For Windows environments using WSL backend, review and limit permissions related to host drive mounting and consider using alternative container runtimes or hardened configurations. 6) Monitor Docker daemon logs and network traffic for unusual API calls or container behavior indicative of exploitation attempts. 7) Educate developers and IT staff about the risks of running privileged containers and the importance of applying security updates promptly. 8) Consider deploying runtime security tools that can detect and block unauthorized Docker API usage. These measures go beyond generic advice by focusing on network-level restrictions, configuration hardening, and operational monitoring tailored to the specifics of this vulnerability.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
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: 9/26/2025, 12:32:58 AM
Last updated: 10/7/2025, 1:25:58 PM
Views: 465
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.
Related Threats
CVE-2025-11396: SQL Injection in code-projects Simple Food Ordering System
MediumCVE-2025-40889: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Nozomi Networks Guardian
HighCVE-2025-40888: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Nozomi Networks Guardian
MediumCVE-2025-40887: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Nozomi Networks Guardian
MediumCVE-2025-40886: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Nozomi Networks Guardian
HighActions
Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.