Moby race condition in docker cp mount setup
CVE-2026-42306High
A race condition exists in Moby during the setup of bind mounts for the docker cp command. A malicious container can exploit this timing flaw to redirect a bind mount target to an arbitrary path on the host system. An attacker with the ability to run a container could overwrite host files or cause denial of service by manipulating where the mount is directed during the brief window when the mount is being established.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:H
Detail
Affected versions
- docker engine: before 29.5.1
- mobyproject moby: up to 28.5.2
- mobyproject moby\/v2: 2.0.0