Vendors › Docker

CVE-2026-42306

High (7.2) EPSS 0.1% Docker · Docker Engine

Race condition in docker cp allows bind mount redirection to host path

## Summary 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. ## Details When copying files into a container, the daemon sets up a temporary filesystem view by bind-mounting volumes into a private mount namespace.

Published2026-05-18
Updated2026-05-18
AffectedAffected: < 29.5.1; <= v28.5.2; < v2.0.0-beta.14
FixUpgrade to 29.5.1, None, v2.0.0-beta.14.
Vendor advisoryhttps://github.com/moby/moby/security/advisories/GHSA-rg2x-37c3-w2rh

CVEs (1)

CVECWETypeImpactLinks
CVE-2026-42306CWE-61;CWE-367Memory CorruptionOtherNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.