Race Condition Vulnerability in Docker Engine Affecting File Copy Operations
CVE-2026-135124
4.1MEDIUM
What is CVE-2026-135124?
A race condition has been identified in Docker Engine during the setup of docker cp mount operations. This vulnerability permits a malicious container to exploit a timing flaw which allows it to retain write permissions on what should otherwise be a read-only bind mount. When files are copied into a container, the Docker daemon temporarily bind-mounts the container's volumes. However, a process within the container may alter the path between the time the bind mount is established and when the read-only flags are applied. This leads to a scenario where the intended mount remains writable, potentially allowing unauthorized access to modify sensitive files during the file copying process.
Affected Version(s)
Docker Engine 0 < 29.10.1
Moby 0 < 2.0.0-beta.32
