{"schema_version":"1.7.5","id":"GO-2026-5617","published":"2026-06-25T22:34:34Z","modified":"2026-07-28T16:30:26.475155486Z","aliases":["CVE-2026-42306","GHSA-rg2x-37c3-w2rh"],"related":["CGA-cjw6-g67q-rwx9"],"summary":"Race condition in 'docker cp' in github.com/docker/docker allows bind mount redirection","details":"A race condition in the Docker daemon allows an attacker to redirect bind mounts to arbitrary host paths during a \"docker cp\" operation.\n\nThe 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.","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":[{"path":"github.com/docker/docker/daemon","symbols":["Daemon.openContainerFS"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2026-5617.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.openContainerFS"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2026-5617.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":[{"path":"github.com/moby/moby/v2/daemon","symbols":["Daemon.openContainerFS"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2026-5617.json"}}],"references":[{"type":"ADVISORY","url":"https://github.com/moby/moby/security/advisories/GHSA-rg2x-37c3-w2rh"}],"database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2026-5617"}}