CVE-2025-10657 Docker Desktop with ECI Fails to Enforce Socket Command Restrictions

High 8.7 Published Updated

Docker Desktop fails to enforce socket command restrictions when Enhanced Container Isolation is enabled, allowing containers to execute unrestricted Docker commands.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-10657?

CVE-2025-10657 is a high-severity vulnerability in Docker Desktop, published on 26 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-269

Which versions are affected by CVE-2025-10657?

How do I fix CVE-2025-10657?

No fix has been published for CVE-2025-10657 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-10657 being exploited?

There is no known exploitation of CVE-2025-10657 in the wild and no public exploit code.

Sources

Also known as GHSA-g3fh-rgmp-4frg.

Is CVE-2025-10657 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free