{"schema_version":"1.3.1","id":"GO-2026-5668","modified":"2026-08-11T23:21:33Z","published":"2026-06-25T22:34:38Z","aliases":["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.\n\nThe 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.","affected":[{"package":{"name":"github.com/docker/docker","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/docker/docker/daemon","symbols":["Daemon.createIfNotExists","Daemon.openContainerFS"]}]}},{"package":{"name":"github.com/moby/moby","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/moby/moby/daemon","symbols":["Daemon.createIfNotExists","Daemon.openContainerFS"]}]}},{"package":{"name":"github.com/moby/moby/v2","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.0-beta.14"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/moby/moby/v2/daemon","symbols":["Daemon.createIfNotExists","Daemon.openContainerFS"]}]}}],"references":[{"type":"ADVISORY","url":"https://github.com/moby/moby/security/advisories/GHSA-vp62-88p7-qqf5"}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2026-5668","review_status":"REVIEWED"}}