Moby race condition allows arbitrary file creation on host
CVE-2026-41568Medium
A race condition exists in Moby during the setup of docker cp mounts. A malicious container can exploit this timing flaw to create empty files or directories at arbitrary absolute paths on the host filesystem. An attacker needs to run a container and use the docker cp command during a specific window when the mount is being set up.
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:L/A:H
Detail
Affected versions
- docker engine: before 29.5.1
- mobyproject moby: up to 28.5.2
- mobyproject moby\/v2: 2.0.0