Moby: Race condition in docker cp allows creation of arbitrary empty files on the host via symlink swap

Summary

CVECVE-2026-41568
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-06-12 19:16:26 UTC
Updated2026-06-16 18:31:54 UTC
DescriptionMoby 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.

Risk And Classification

Primary CVSS: v3.1 6.1 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:H

EPSS: 0.001000000 probability, percentile 0.010680000 (date 2026-06-22)

Problem Types: CWE-81 | CWE-367 | CWE-81 CWE-81: Improper Neutralization of Script in an Error Message Web Page | CWE-367 CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary6.1MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:H
3.1CNADECLARED6.1MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
None
Integrity
Low
Availability
High

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Docker Engine All All All All
Application Mobyproject Moby All All All All
Application Mobyproject Moby/v2 2.0.0 beta0 All All
Application Mobyproject Moby/v2 2.0.0 beta1 All All
Application Mobyproject Moby/v2 2.0.0 beta10 All All
Application Mobyproject Moby/v2 2.0.0 beta11 All All
Application Mobyproject Moby/v2 2.0.0 beta12 All All
Application Mobyproject Moby/v2 2.0.0 beta13 All All
Application Mobyproject Moby/v2 2.0.0 beta2 All All
Application Mobyproject Moby/v2 2.0.0 beta3 All All
Application Mobyproject Moby/v2 2.0.0 beta4 All All
Application Mobyproject Moby/v2 2.0.0 beta5 All All
Application Mobyproject Moby/v2 2.0.0 beta6 All All
Application Mobyproject Moby/v2 2.0.0 beta7 All All
Application Mobyproject Moby/v2 2.0.0 beta8 All All
Application Mobyproject Moby/v2 2.0.0 beta9 All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Moby Moby affected github.com/docker/docker/daemon <= 28.5.2 Not specified
CNA Moby Moby affected Docker Engine < 29.5.1 Not specified
CNA Moby Moby affected github.com/moby/moby/v2/daemon < 2.0.0-beta.14 Not specified

References

ReferenceSourceLinkTags
github.com/moby/moby/security/advisories/GHSA-vp62-88p7-qqf5 [email protected] github.com Mitigation, Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report