Advisory

GO-2026-5668

Also known as: CVE-2026-41568, GHSA-vp62-88p7-qqf5

Summary

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

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-06-25 22:34 UTC
Modified
2026-08-11 23:45 UTC

Affected packages and fixes

github.com/docker/docker

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/moby/moby

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/moby/moby/v2

Go · All systems

Affected

  • introduced 0, fixed 2.0.0-beta.14 (semver)

Fixed versions

2.0.0-beta.14

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences