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