{"schema_version":"1.3.1","id":"GO-2026-5617","modified":"2026-07-27T20:14:16Z","published":"2026-06-25T22:34:34Z","aliases":["CVE-2026-42306","GHSA-rg2x-37c3-w2rh"],"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"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/docker/docker/daemon","symbols":["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.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.openContainerFS"]}]}}],"references":[{"type":"ADVISORY","url":"https://github.com/moby/moby/security/advisories/GHSA-rg2x-37c3-w2rh"}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2026-5617","review_status":"REVIEWED"}}