CVE-2026-42306

HIGH

Moby: Race condition in docker cp allows bind mount redirection to host path

Title source: cna
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

CVSS v3 7.2
EPSS 0.0010
EPSS Percentile 1.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-367 CWE-61
Status published
Products (6)
docker/docker 0 - 28.5.2Go
moby/moby 0 - 2.0.0-beta.14Go
moby/moby 0 - 28.5.2Go
moby/moby Docker Engine < 29.5.1
moby/moby github.com/docker/docker/daemon <= 28.5.2
moby/moby github.com/moby/moby/v2/daemon < 2.0.0-beta.14
Published Jun 12, 2026
Tracked Since Jun 13, 2026