CVE-2025-10657 in Containers products
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-containe...
Affects 1 product from 4 vendors. Facts below cite their sources.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Containers | — | — |
| Docker | Docker Desktop | 4.46.0 |
| Restrict | — | — |
| Socket | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-10657 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-229021-I |
| Published | 2025-09-26 |
| Last modified | 2026-10-09 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-269: Improper Privilege Management
Software does not properly assign, modify, track, or check privileges, allowing unauthorized elevation of access.
Related attack patterns (CAPEC)
CAPEC-58 Restful Privilege Elevation via CWE-269
CAPEC-122 Privilege Abuse via CWE-269
CAPEC-233 Privilege Escalation via CWE-269
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2025-10657 involves a potential security vulnerability in a hardened Docker environment with Enhanced Container Isolation (ECI) enabled. The vulnerability could allow unauthorized command execution within containers if command restrictions are not properly configured.
An attacker with access to the Docker environment could exploit this vulnerability by attempting to run restricted commands within a container. The attack would require the attacker to have some level of control over the container or the ability to influence the configuration of command restrictions.
Questions
What is CVE-2025-10657?
CVE-2025-10657 involves a potential security vulnerability in a hardened Docker environment with Enhanced Container Isolation (ECI) enabled. The vulnerability could allow unauthorized command execution within containers if command restrictions are not properly configured.
Is CVE-2025-10657 actively exploited?
No confirmed active exploitation of CVE-2025-10657 as of 2026-10-11.
How do I remediate CVE-2025-10657?
Priority: MEDIUM. Advisory: https://docs.docker.com/desktop/release-notes
What systems are affected by CVE-2025-10657?
CVE-2025-10657 affects Containers; Docker Docker Desktop; Restrict; Socket.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Containers","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-09.