CVE-2026-135124
Docker Engine race in docker cp lets a container write through read-only bind mounts
- Severity
- medium CVSS 4.1 (v4.0)
- Affects
- Docker Engine · Docker
- Weakness
- CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
- Published
- 25 November 2026 by Docker
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.