{"id":"CVE-2026-41568","state":"PUBLISHED","title":"Moby: Race condition in docker cp allows creation of arbitrary empty files on the host via symlink swap","description":"Moby is an open source container framework. In Docker Engine prior to version 29.5.1, Docker Daemon versions 28.5.2 and prior, and Moby Daemon prior to version 2.0.0-beta.14, a race condition during docker cp mount setup allows a malicious container to create empty files or directories at arbitrary absolute paths on the host filesystem. This issue has been patched in Docker Engine version 29.5.1 and Moby Daemon version 2.0.0-beta.14.","publishedAt":"2026-06-12T18:08:43.914Z","updatedAt":"2026-06-12T20:01:58.963Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["moby moby"],"affected":[{"vendor":"moby","product":"moby","versions":[{"version":"github.com/docker/docker/daemon <= 28.5.2","status":"affected"},{"version":"Docker Engine < 29.5.1","status":"affected"},{"version":"github.com/moby/moby/v2/daemon < 2.0.0-beta.14","status":"affected"}]}],"references":["https://github.com/moby/moby/security/advisories/GHSA-vp62-88p7-qqf5"],"weaknesses":["CWE-81","CWE-367"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/41xxx/CVE-2026-41568.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-41568","state":"PUBLISHED","datePublished":"2026-06-12T18:08:43.914Z","dateUpdated":"2026-06-12T20:01:58.963Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-21T14:15:21.957Z"},"containers":{"cna":{"title":"Moby: Race condition in docker cp allows creation of arbitrary empty files on the host via symlink swap","descriptions":[{"lang":"en","value":"Moby is an open source container framework. In Docker Engine prior to version 29.5.1, Docker Daemon versions 28.5.2 and prior, and Moby Daemon prior to version 2.0.0-beta.14, a race condition during docker cp mount setup allows a malicious container to create empty files or directories at arbitrary absolute paths on the host filesystem. This issue has been patched in Docker Engine version 29.5.1 and Moby Daemon version 2.0.0-beta.14."}],"affected":[{"vendor":"moby","product":"moby","versions":[{"version":"github.com/docker/docker/daemon <= 28.5.2","status":"affected"},{"version":"Docker Engine < 29.5.1","status":"affected"},{"version":"github.com/moby/moby/v2/daemon < 2.0.0-beta.14","status":"affected"}]}],"references":[{"url":"https://github.com/moby/moby/security/advisories/GHSA-vp62-88p7-qqf5","name":"https://github.com/moby/moby/security/advisories/GHSA-vp62-88p7-qqf5","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-81","lang":"en","description":"CWE-81: Improper Neutralization of Script in an Error Message Web Page","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-367","lang":"en","description":"CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-06-12T18:08:43.914Z"},"source":{"advisory":"GHSA-vp62-88p7-qqf5","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-12T20:01:52.180826Z","id":"CVE-2026-41568","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-12T20:01:58.963Z"}}]}}}