CVE-2026-135124

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

Published Nov 25, 2026 CVSS 4.0 · 4.1 Medium EPSS n/a KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

Vendor Workaround

Do not copy files into running containers that run untrusted workloads. Stop the container before copying files into it. Use authorization plugins to restrict access to PUT /containers/{id}/archive.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title Docker Engine race in docker cp lets a container write through read-only bind mounts
Weaknesses CWE-367
References
Metrics cvssV4_0

{'score': 4.1, 'vector': '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'}

Subscriptions

No data.

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition

Sources

Status
PUBLISHED
Assigner
Docker
Published
Updated
Nov 25, 2026, 4:42 PM
Reserved
Nov 23, 2026, 1:08 PM

No data.