Docker Engine race in docker cp lets a container write through read-only bind mounts
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| dockerDocker Engine |
< 29.10.1→ 29.10.1 |
29.10.1 |
| gogithub.com/moby/moby/v2/daemon |
<= 2.0.0-beta.31→ Not listed |
Not listed |
| MobyMoby |
< 2.0.0-beta.32→ 2.0.0-beta.32 |
2.0.0-beta.32 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-135124 docker Fix available
- Debian DEBIAN-CVE-2026-135124 docker.io No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-135124 docker.io-app, docker.io No fixed version in this record
Original description The description as published by the source.
A race condition during docker cp mount setup in Docker Engine allows a malicious container to leave a read-only bind mount writable while an archive is extracted into the container. When copying files into a container, the daemon bind-mounts the container's volumes into a temporary view and applies the read-only flags afterwards, through a path inside the container's filesystem. A process in the container can change that path in between, so the flags are applied to a different mount and the intended bind mount stays writable for the duration of the copy.
Source: Docker Engine (moby) releases NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- DOCKER-ENGINE v29.10.1
- REDHAT Red Hat