# CVE-2026-42306: Moby: Race condition in docker cp allows bind mount redirection to host path

> CVE-2026-42306: Moby: Race condition in docker cp allows bind mount redirection to host path. CVSS 7.2 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-42306
Last updated: 2026-06-17T10:47:39Z

- Published: 2026-06-12 18:09 UTC · Updated: 2026-06-17 10:47 UTC · Assigner: GitHub\_M
- CVSS: 7.2 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:H
- EPSS: 0.10%, 1th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-367, CWE-61

## 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.

## Affected vendors and products

- moby: moby

## Tracked companies

- [Docker](https://rewindex.com/company/docker.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-42306)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-42306)
- [https://github.com/moby/moby/security/advisories/GHSA-rg2x-37c3-w2rh](https://github.com/moby/moby/security/advisories/GHSA-rg2x-37c3-w2rh)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-42306 · Markdown: https://rewindex.com/cve/CVE-2026-42306.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-42306 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:11:29.001Z
