CVE-2022-38730 in Docker Desktop
Docker Desktop for Windows before 4.6 allows attackers to overwrite any file through the windowscontainers/start dockerBackendV2 API by controlling the data-root field inside the DaemonJSON field in the WindowsContainerStartRequest class. This allows exploiting a symlink vulnerability in ..\dataRoot\network\files\lo...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Docker | Desktop | < 4.6.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
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Docker Desktop for Windows before 4.6 allows attackers to overwrite any file through the windowscontainers/start dockerBackendV2 API by controlling the data-root field inside the DaemonJSON field in the WindowsContainerStartRequest class. This allows exploiting a symlink vulnerability in ..\dataRoot\network\files\local-kv.db because of a TOCTOU race condition.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-38730 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-059595-M |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H |
| Published | 2023-04-27 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-59: Improper Link Resolution Before File Access
Software follows symbolic links without verifying the target, allowing read, write, or delete of unintended files.
CWE-367: CWE-367
Related attack patterns (CAPEC)
CAPEC-27 Leveraging Race Conditions via Symbolic Links via CWE-367
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-59
CAPEC-76 Manipulating Web Input to File System Calls via CWE-59
CAPEC-132 Symlink Attack via CWE-59
CAPEC-17 Using Malicious Files via CWE-59
Show all 6
CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-367
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Docker Desktop for Windows versions prior to 4.6 are vulnerable to a symlink attack that allows attackers to overwrite any file on the system through the windowscontainers/start dockerBackendV2 API.
The vulnerability arises from a TOCTOU (Time of Check to Time of Use) race condition in the handling of the data-root field within the DaemonJSON field of the WindowsContainerStartRequest class. An attacker can exploit this to overwrite files, including ..\dataRoot\network\files\local-kv.db, by controlling the data-root path.
Questions
What is CVE-2022-38730?
Docker Desktop for Windows versions prior to 4.6 are vulnerable to a symlink attack that allows attackers to overwrite any file on the system through the windowscontainers/start dockerBackendV2 API.
What is the CVSS score for CVE-2022-38730?
CVE-2022-38730 has CVSS 6.3 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H. EPSS: 0.2%.
Is CVE-2022-38730 actively exploited?
No confirmed active exploitation of CVE-2022-38730 as of 2026-09-25.
How do I remediate CVE-2022-38730?
Priority: HIGH.
What systems are affected by CVE-2022-38730?
CVE-2022-38730 affects 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":"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.