CVE-2022-38730: docker desktop Link Following
Vulnerability summary
CVE-2022-38730 is a medium (CVSS 6.3) Link Following vulnerability in docker desktop. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 20.2% of scored vulnerabilities.
Timeline
- 27-04-2023PublishedVulnerability first disclosed.
- 31-01-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST6.3MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
20%
Versus all other CVEs
30-day change
0.00 pp
From 0.29% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-59Improper Link Resolution Before File Access ('Link Following')The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
- CWE-367Time-of-check Time-of-use (TOCTOU) Race ConditionThe product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.
Affected systems
Docker1 product
- desktop< 4.6.0
1 vendor · 1 product
References
2 links- docs.docker.com/desktop/release-notes/Release Notes
- www.cyberark.com/resources/…Third Party Advisory