CVE-2026-135124: Docker Engine race in docker cp lets a container write through read-only bind mounts

Published Nov 25, 2026
·
Updated

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.

Affected Software

1 affected component
Docker Docker Engine

Event History

Nov 25, 2026
CVE Published
via MITRE·02:57 PM
Data Sourced
via MITRE·02:57 PM
DescriptionWeakness

Frequently Asked Questions

1

What does an attacker need to exploit this issue?

The attacker needs to be able to run a process inside the target container and race the daemon's mount setup while files are being copied into that container with docker cp.

2

When is the read-only bind mount exposed?

The intended bind mount can remain writable only for the duration of the archive extraction performed by docker cp. The race works by changing the container filesystem path used when the daemon later applies read-only flags.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203