What’s Vulnerable › Vulnerabilities
CVE-2026-42306: Moby: Race condition in docker cp allows bind mount redirection to host path
- Severity: high (CVSS 7.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-12 · updated 2026-06-17
- Weakness: CWE-61
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.
Affected products
- Docker Engine: before 29.5.1 — fixed in 29.5.1
- Docker Engine: through 28.5.2
- Mobyproject Moby/V2: 2.0.0-beta0, 2.0.0-beta1, 2.0.0-beta10, 2.0.0-beta11, 2.0.0-beta12, 2.0.0-beta13 (+8)
How to fix
Upgrade to a fixed version: Docker Engine 29.5.1. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-42306 or the next vulnerability affects your stack