CVE-2026-135124
Docker Engine race in docker cp lets a container write through read-only bind mounts
Medium · 4.1Fix available
- CVSS
- 4.1
- EPSS
- 0.20% (p6)
- Published
- 2026-11-25
- Age
- 3d old
- Modified
- 2026-11-25
- Product
- Docker Docker Engine
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Description
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.
Fixed in
2.0.0-beta.32 · 29.10.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Docker Engine | >=0, <29.10.1 | 29.10.1 |
| vendor | github.com/moby/moby/v2/daemon | >=0, <2.0.0-beta.32 | 2.0.0-beta.32 |