CVE-2026-135124
published medium CVSS 4.0 · 4.1Docker Engine race in docker cp lets a container write through read-only bind mounts
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Docker | — | Docker Engine0 to < 29.10.1 · Other versions: unaffected | Affected | Not stated | Docker |
| Moby | — | github.com/moby/moby/v2/daemonMoby · 0 to < 2.0.0-beta.32 · Other versions: unaffected | Affected | Not stated | Docker |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | docker | Fixed | 29.10.1-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.1 / 10
- Severity
- medium
- Provider
- Docker · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Docker | Docker Engine | 0 to < 29.10.1 (affected · semver)Default: unaffected | Docker · cna |
| Moby | Moby | 0 to < 2.0.0-beta.32 (affected · semver)Default: unaffected | Docker · cna |
Weaknesses
1- CWE-367 CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
References
1Provider assertions
2Docker · cna
Docker Engine race in docker cp lets a container write through read-only bind mounts
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8b16571148f3c611d646dc8554462a3711e130625ac0f1c3ae23037b7c6ea9f7
- Ingested
- 25 Nov 2026, 16:48:04 UTC
- Source record
- Official CVE record