What’s Vulnerable › Vulnerabilities

CVE-2026-41568: Moby: Race condition in docker cp allows creation of arbitrary empty files on the host via symlink swap

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 create empty files or directories at arbitrary absolute paths on the host filesystem. This issue has been patched in Docker Engine version 29.5.1 and Moby Daemon version 2.0.0-beta.14.

Affected products

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-41568 or the next vulnerability affects your stack