CVE-2026-41568·Docker vulnerability
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.
- Severity
- medium
- Software
- Docker
- Fixed in
- 29.5.1
- Published
- 2026-06-12
Affected versions
Until: 28.5.2
Fixed in: 29.5.1
How to fix this CVE
Update Docker Engine to version 29.5.1 or later to patch a race condition in the docker cp mount setup that could allow malicious containers to create files at arbitrary paths on the host. This vulnerability requires local access and user interaction, making immediate patching important for multi-tenant environments. Verify the update is applied by checking the Docker version post-upgrade.
sudo dnf upgrade docker-ce --enablerepo=docker-ce-stableDefensia detects this vulnerability
How to check if you are affected
- Check installed Docker version: docker --version or docker version --format '{{.Server.Version}}'
- List running containers with mount capabilities: docker ps --format 'table {{.ID}}\t{{.Image}}\t{{.Mounts}}'
- Review Docker daemon logs for mount operation errors: sudo journalctl -u docker -n 200 | grep -i 'mount\|cp'
- Verify patch applied: docker version --format '{{.Server.Version}}' and confirm it shows 29.5.1 or newer
FAQ
What is CVE-2026-41568?
A race condition vulnerability in Docker's file copy (docker cp) mount setup mechanism that permits malicious containers to create arbitrary empty files or directories on the host filesystem, potentially bypassing filesystem isolation controls.
Is CVE-2026-41568 being actively exploited?
No, this vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploit code is available.
What versions of Docker are affected by CVE-2026-41568?
Docker Engine versions prior to 29.5.1, Docker Daemon versions 28.5.2 and earlier, and Moby Daemon versions prior to 2.0.0-beta.14 are vulnerable.
How do I check if my server is vulnerable to CVE-2026-41568?
Run 'docker --version' and compare the version number; if it is below 29.5.1, your system is vulnerable and requires immediate patching.
Does Defensia detect CVE-2026-41568?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Docker is installed on a monitored server, CVE-2026-41568 will appear in your dashboard with remediation steps.
Related Docker CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-41568. Free for 1 server.
Get started free