Race condition in 'docker cp' in github.com/docker/docker allows bind mount redirection

GO-2026-5617
HIGH 7.2OSV

En bref

Source
OSV
Publiée
Mise à jour
CVE
CVE-2026-42306
Alias
GHSA-rg2x-37c3-w2rh
Criticité de la CVE
HIGH 7.2 · CVE-2026-42306

Description

A race condition in the Docker daemon allows an attacker to redirect bind mounts to arbitrary host paths during a "docker cp" operation. The affected code is in the daemon package, specifically the openContainerFS method. This is daemon-owned, Linux-specific code and is not intended for external use as a Go library.

Références

Paquets affectés

PaquetVersions
Go · github.com/docker/dockerintroduced 0
Go · github.com/moby/mobyintroduced 0
Go · github.com/moby/moby/v2introduced 0, fixed 2.0.0-beta.14

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database