Race condition in 'docker cp' in github.com/docker/docker allows creation of arbitrary files

GO-2026-5668
MEDIUM 6.1OSV

En bref

Source
OSV
Publiée
Mise à jour
CVE
CVE-2026-41568
Alias
GHSA-vp62-88p7-qqf5
Criticité de la CVE
MEDIUM 6.1 · CVE-2026-41568

Description

A race condition in the Docker daemon allows an attacker to create arbitrary empty files on the host system during a "docker cp" operation by swapping a destination path with a symbolic link. The affected code is in the daemon package, specifically the openContainerFS and createIfNotExists methods. 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