CVE-2026-41568
Moby: Race condition in docker cp allows creation of arbitrary empty files on the host via symlink swap
Also known as GHSA-vp62-88p7-qqf5, GO-2026-5668
Mitigation
- Upgrade github.com/moby/moby/v2 to 2.0.0-beta.14 or later.
Who should check
- Projects that depend on Go package github.com/docker/docker (<= 28.5.2)
- Projects that depend on Go package github.com/moby/moby/v2 (< 2.0.0-beta.14)
- Projects that depend on Go package github.com/moby/moby (<= 28.5.2)
- Anyone running moby github.com/docker/docker/daemon <= 28.5.2; Docker Engine < 29.5.1; github.com/moby/moby/v2/daemon < 2.0.0-beta.14
Vulnerability facts
- Affected
- github.com/docker/docker <= 28.5.2; github.com/moby/moby/v2 < 2.0.0-beta.14; github.com/moby/moby <= 28.5.2
- Fixed in
- 2.0.0-beta.14
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 6.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: High
- EPSS
- 0.10% chance of exploitation in 30 days (percentile 0, 2026-11-26)
- CWE
- CWE-81, CWE-367
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/docker/docker | <= 28.5.2 | — | osv |
| Go github.com/moby/moby/v2 | < 2.0.0-beta.14 | 2.0.0-beta.14 | osv |
| Go github.com/moby/moby | <= 28.5.2 | — | osv |
| moby | github.com/docker/docker/daemon <= 28.5.2; Docker Engine < 29.5.1; github.com/moby/moby/v2/daemon < 2.0.0-beta.14 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-41568. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-41568.md Affected: github.com/docker/docker <= 28.5.2; github.com/moby/moby/v2 < 2.0.0-beta.14; github.com/moby/moby <= 28.5.2 Fixed in: 2.0.0-beta.14 Steps: 1. Search this machine and project for github.com/docker/docker (Go), github.com/moby/moby/v2 (Go), github.com/moby/moby (Go), moby: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-41568 being exploited?
There is no confirmed exploitation: CVE-2026-41568 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.10% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-41568?
Medium: CVSS 6.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-41568?
github.com/docker/docker <= 28.5.2; github.com/moby/moby/v2 < 2.0.0-beta.14; github.com/moby/moby <= 28.5.2.
Is there a fix for CVE-2026-41568?
Yes. Fixed in 2.0.0-beta.14. Upgrade github.com/moby/moby/v2 to 2.0.0-beta.14 or later.
How do I check if I'm affected by CVE-2026-41568?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.