# CVE-2026-41568: Moby: Race condition in docker cp allows creation of arbitrary empty files on the host via symlink swap

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-02)
- Published: 2026-05-18T17:52:55.000Z
- Modified: 2026-09-10T03:51:07.017Z
- Also known as: GHSA-vp62-88p7-qqf5, GO-2026-5668
- Related: CGA-q8m7-827v-qw9g
- Weaknesses: CWE-61, CWE-81, CWE-367
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- moby 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
- github.com/docker/docker (Go): up to 28.5.2; all versions
- github.com/moby/moby/v2 (Go): before 2.0.0-beta.14
- github.com/moby/moby (Go): up to 28.5.2; all versions
- docker engine: before 29.5.1
- mobyproject moby: up to 28.5.2
- mobyproject moby/v2: 2.0.0

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:H`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:H`

## References

- <https://github.com/moby/moby/security/advisories/GHSA-vp62-88p7-qqf5> (advisory, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41568> (advisory)
- <https://github.com/moby/moby> (package)

## Sources

- CVE List: [CVE-2026-41568](https://www.cve.org/CVERecord?id=CVE-2026-41568), CVE Terms of Use, modified 2026-06-12
- GitHub Advisory Database: [GHSA-vp62-88p7-qqf5](https://github.com/advisories/GHSA-vp62-88p7-qqf5), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-5668](https://pkg.go.dev/vuln/GO-2026-5668), CC-BY-4.0, modified 2026-08-11
- NVD: [CVE-2026-41568](https://nvd.nist.gov/vuln/detail/CVE-2026-41568), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-41568 · Whole record: https://cve.day/CVE-2026-41568.json · Rebuilt by cve.day 2026-11-25T22:59:24.557Z
