{"id":"CVE-2025-10657","aliases":["CVE-2025-10657"],"related":[],"kind":"vulnerability","state":"published","title":"Docker Desktop with ECI Fails to Enforce Socket Command Restrictions","summary":"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.\nDue 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.\n\nThe 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\nDue 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.\n\nThe 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.","source":"cvelist"},{"lang":"es","text":"En un entorno Docker reforzado, con Aislamiento Mejorado de Contenedores (ECI https://docs.docker.com/enterprise/security/hardened-desktop/enhanced-container-isolation/) habilitado, un administrador puede utilizar la función de restricciones de comandos https://docs.docker.com/enterprise/security/hardened-desktop/enhanced-container-isolation/config/#command-restrictions para restringir los comandos que un contenedor con un montaje de socket Docker puede emitir en ese socket.\nDebido a un error de software, la configuración para restringir comandos fue ignorada al pasarse a ECI, permitiendo que cualquier comando se ejecutara en el socket. Esto otorga privilegios excesivos al permitir acceso sin restricciones a comandos Docker potentes.\n\nLa vulnerabilidad afecta solo a los usuarios de Docker Desktop 4.46.0 que tienen ECI habilitado y están utilizando la función de restricciones de comandos del socket Docker. Además, dado que ECI restringe el montaje del socket Docker en contenedores por defecto, solo afecta a los contenedores a los que el administrador permite explícitamente montar el socket Docker.","source":"nvd"}],"published":"2025-09-26T21:05:19.043Z","modified":"2026-10-09T10:10:00.193Z","severity":{"scorer":"Docker","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"Docker","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","score":8.7,"rating":"HIGH"}],"cwes":["CWE-269"],"affected":[{"ranges":[{"type":"semver","version":"4.46.0","status":"affected"}],"vendor":"Docker","product":"Docker Desktop","platforms":["Windows","MacOS","Linux"],"source":"cvelist"}],"references":[{"url":"https://docs.docker.com/desktop/release-notes","tags":["release-notes"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Docker","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-09-30T03:55:09.163Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-10657","url":"https://www.cve.org/CVERecord?id=CVE-2025-10657","licence":"CVE Terms of Use","modified":"2026-02-26T17:47:53.364Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-10657","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-10657","licence":"Public domain","modified":"2026-10-09T10:10:00.193Z"}],"updatedAt":"2026-11-25T22:59:05.259Z","epss":{"score":0.00145,"percentile":0.03945,"date":"2026-12-01T12:00:22.000Z"}}