CVE-2026-42306: Moby: Race condition in docker cp allows bind mount redirection to host path
Vulnerability summary
CVE-2026-42306 is a high (CVSS 7.2) UNIX Symbolic Link (Symlink) Following vulnerability in docker engine. EPSS estimates a 0.14% chance of exploitation in the next 30 days, higher than 3.3% of scored vulnerabilities.
Not severe (CVSS 7.2, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6 · Related 5Timeline
- 12-06-2026PublishedVulnerability first disclosed.
- 13-06-2026Last modifiedVulnerability information updated.
Description
Moby is an open source container framework. In Docker Engine prior to version 29.5.1, Docker Daemon versions 28.5.2 and prior, and Moby Daemon prior to version 2.0.0-beta.14, a race condition during docker cp mount setup allows a malicious container to redirect a bind mount target to an arbitrary host path, potentially overwriting host files or causing denial of service. This issue has been patched in Docker Engine version 29.5.1 and Moby Daemon version 2.0.0-beta.14.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.2HighCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.2HighCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated7.2HighCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:H
- OSV · GoEcosystem advisory · calculated7.2HighCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated7.2HighCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:H
- NVDNIST7.2HighCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:H
EPSS trend
Probability
0.14%
Chance of exploitation in the next 30 days
Percentile
3%
Versus all other CVEs
30-day change
Increase +0.03 pp
From 0.10% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-61UNIX Symbolic Link (Symlink) FollowingThe product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files.
- 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
Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard200 products
- agentbeatAll versions (No fix recorded)
- agentbeat-fipsAll versions (No fix recorded)
- amazon-cloudwatch-agent< 1.300074.0-r0
- amazon-cloudwatch-agent-fips< 1.300074.0-r0
- amazon-cloudwatch-agent-operator< 3.6.0-r0
1 vendor · 200 products · Showing 200 of 723
References
7 links- github.com/moby/moby/security/advisories/GHSA-rg2x-37c3-w2rhX Refsource CONFIRMREPORTAdvisoryWEBMitigationVendor Advisory
- github.com/moby/mobyPACKAGE