CVE-2025-10657: Docker Desktop with ECI Fails to Enforce Socket Command Restrictions
In a hardened Docker environment, with Enhanced Container Isolation ( ECI https://docs.docker.com/enterprise/security/hardened-desktop/enhanced-container-isolation/ ) enabled, an administrator can utilize the command restrictions feature https://docs.docker.com/enterprise/security/hardened-desktop/enhanced-container-isolation/config/#command-restrictions to restrict commands that a container with a Docker socket mount may issue on that socket. Due to a software bug, the configuration to restrict commands was ignored when passed to ECI, allowing any command to be executed on the socket. This grants excessive privileges by permitting unrestricted access to powerful Docker commands.
The vulnerability affects only Docker Desktop 4.46.0 users that have ECI enabled and are using the Docker socket command restrictions feature. In addition, since ECI restricts mounting the Docker socket into containers by default, it only affects containers which are explicitly allowed by the administrator to mount the Docker socket.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-10657?
CVE-2025-10657 is classified as a high severity vulnerability due to its potential impact on Enhanced Container Isolation in Docker environments.
How do I fix CVE-2025-10657?
To fix CVE-2025-10657, ensure that you are using the latest version of Docker Desktop with security patches applied.
What does CVE-2025-10657 affect?
CVE-2025-10657 affects Docker Desktop when Enhanced Container Isolation features are enabled.
What are the risks associated with CVE-2025-10657?
The risks associated with CVE-2025-10657 include potential command execution vulnerabilities within isolated containers.
Who is impacted by CVE-2025-10657?
Administrators using Docker Desktop with Enhanced Container Isolation enabled are primarily impacted by CVE-2025-10657.