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

> CVE-2025-10657: Docker Desktop with ECI Fails to Enforce Socket Command Restrictions. CVSS 8.7 (CVSS 4.0).

Canonical: https://rewindex.com/cve/CVE-2025-10657
Last updated: 2026-10-09T10:10:00Z

- Published: 2025-09-26 21:05 UTC · Updated: 2026-10-09 10:10 UTC · Assigner: Docker
- CVSS: 8.7 (CVSS 4.0) · Severity: High
- EPSS: 0.14%, 4th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-269

## 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.

## Affected vendors and products

- Docker: Docker Desktop

## Tracked companies

- [Docker](https://rewindex.com/company/docker.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-10657)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-10657)
- [https://docs.docker.com/desktop/release-notes](https://docs.docker.com/desktop/release-notes)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2025-10657 · Markdown: https://rewindex.com/cve/CVE-2025-10657.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-10657 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:06:36.233Z
