CVE-2023-5165 in Docker Desktop
Docker Desktop before 4.23.0 allows an unprivileged user to bypass Enhanced Container Isolation (ECI) restrictions via the debug shell which remains accessible for a short time window after launching Docker Desktop. The affected functionality is available for Docker Business customers only and assumes an environment...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Docker | Docker Desktop | ≥ 4.13.0, < 4.23.0 |
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
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Docker Desktop before 4.23.0 allows an unprivileged user to bypass Enhanced Container Isolation (ECI) restrictions via the debug shell which remains accessible for a short time window after launching Docker Desktop. The affected functionality is available for Docker Business customers only and assumes an environment where users are not granted local root or Administrator privileges. This issue has been fixed in Docker Desktop 4.23.0. Affected Docker Desktop versions: from 4.13.0 before 4.23.0.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-5165 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-055704-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| Published | 2023-09-25 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-424: CWE-424
CWE-862: Missing Authorization
Software does not check whether an authenticated actor has permission for the requested operation.
Related attack patterns (CAPEC)
CAPEC-127 Directory Indexing via CWE-424
CAPEC-665 Exploitation of Thunderbolt Protection Flaws via CWE-862
CAPEC-554 Functionality Bypass via CWE-424
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2023-5165 affects Docker Desktop versions prior to 4.23.0, allowing unprivileged users to bypass Enhanced Container Isolation (ECI) restrictions through a debug shell that is briefly accessible after Docker Desktop launches. This vulnerability is specific to Docker Business customers and assumes that users do not have local root or Administrator privileges.
The attack vector involves an unprivileged user exploiting a debug shell that is accessible for a short time window after Docker Desktop is launched. This shell can be used to bypass ECI restrictions, potentially leading to unauthorized access or privilege escalation within the container environment.
Questions
What is CVE-2023-5165?
CVE-2023-5165 affects Docker Desktop versions prior to 4.23.0, allowing unprivileged users to bypass Enhanced Container Isolation (ECI) restrictions through a debug shell that is briefly accessible after Docker Desktop launches. This vulnerability is specific to Docker Business customers and assumes that users do not have local root or Administrator privileges.
What is the CVSS score for CVE-2023-5165?
CVE-2023-5165 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H. EPSS: 0.3%.
Is CVE-2023-5165 actively exploited?
No confirmed active exploitation of CVE-2023-5165 as of 2026-09-25.
How do I remediate CVE-2023-5165?
Priority: HIGH. Advisory: https://docs.docker.com/desktop/release-notes/#4230 PSIRT: [email protected]
What systems are affected by CVE-2023-5165?
CVE-2023-5165 affects Docker Docker Desktop.
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":"Docker","product":"Docker Desktop","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-06-17.