Moby: Race condition in docker cp allows bind mount redirection to host path (moby moby)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.14 % · percentile 3 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- Affected products
- moby · moby
- NVD status
- Analyzed
Description
Moby is an open source container framework. In Docker Engine prior to version 29.5.1, Docker Daemon versions 28.5.2 and prior, and Moby Daemon prior to version 2.0.0-beta.14, a race condition during docker cp mount setup allows a malicious container to redirect a bind mount target to an arbitrary host path, potentially overwriting host files or causing denial of service. This issue has been patched in Docker Engine version 29.5.1 and Moby Daemon version 2.0.0-beta.14.
Weaknesses (CWE)
- CWE-61 — UNIX Symbolic Link (Symlink) Following
- CWE-367 — Time-of-check Time-of-use (TOCTOU) Race Condition
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:H | GitHub_M |
| CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:H | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:H | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-rg2x-37c3-w2rh — Docker: Race condition in docker cp allows bind mount redirection to host path
- GO-2026-5617 — Race condition in 'docker cp' in github.com/docker/docker allows bind mount redirection
European references
- ENISA EUVD · EUVD-2026-36528
- GCVE · GCVE-0-2026-42306
CERT-FR advisories
- CERTFR-2026-AVI-1486 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:docker:engine:*:*:*:*:*:*:*:*< 29.5.1cpe:2.3:a:mobyproject:moby:*:*:*:*:*:*:*:*≤ 28.5.2cpe:2.3:a:mobyproject:moby\/v2:2.0.0:beta0:*:*:*:*:*:*cpe:2.3:a:mobyproject:moby\/v2:2.0.0:beta1:*:*:*:*:*:*cpe:2.3:a:mobyproject:moby\/v2:2.0.0:beta10:*:*:*:*:*:*cpe:2.3:a:mobyproject:moby\/v2:2.0.0:beta11:*:*:*:*:*:*cpe:2.3:a:mobyproject:moby\/v2:2.0.0:beta12:*:*:*:*:*:*cpe:2.3:a:mobyproject:moby\/v2:2.0.0:beta13:*:*:*:*:*:*cpe:2.3:a:mobyproject:moby\/v2:2.0.0:beta2:*:*:*:*:*:*cpe:2.3:a:mobyproject:moby\/v2:2.0.0:beta3:*:*:*:*:*:*cpe:2.3:a:mobyproject:moby\/v2:2.0.0:beta4:*:*:*:*:*:*cpe:2.3:a:mobyproject:moby\/v2:2.0.0:beta5:*:*:*:*:*:*cpe:2.3:a:mobyproject:moby\/v2:2.0.0:beta6:*:*:*:*:*:*cpe:2.3:a:mobyproject:moby\/v2:2.0.0:beta7:*:*:*:*:*:*cpe:2.3:a:mobyproject:moby\/v2:2.0.0:beta8:*:*:*:*:*:*cpe:2.3:a:mobyproject:moby\/v2:2.0.0:beta9:*:*:*:*:*:*
Affected products
| Product | Affected versions |
|---|---|
| moby · moby | affected : github.com/docker/docker/daemon <= 28.5.2 affected : Docker Engine < 29.5.1 affected : github.com/moby/moby/v2/daemon < 2.0.0-beta.14 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |