`docker cp` allows unexpected chmod of host files
Exploitation and risk
Source statusCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
Which CVEs have scores here?
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
cve-program · CVE-2021-41089
PublishedMoby is an open-source project created by Docker to enable software containerization. A bug was found in Moby (Docker Engine) where attempting to copy files using `docker cp` into a specially-crafted container can result in Unix file permission changes for existing files in the host’s filesystem, widening access to others. This bug does not directly allow files to be read, modified, or executed without an additional cooperating process. This bug has been fixed in Moby (Docker Engine) 20.10.9. Users should update to this version as soon as possible. Running containers do not need to be restarted.
- Source published
- 4 Oct 2021 20:20:15 UTC
- Source modified
- 4 Aug 2024 02:59:31 UTC
- Saved here
- 23 Oct 2026 15:48:27 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · 2.8 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N
euvd · EUVD-2024-2176
PublishedMoby is an open-source project created by Docker to enable software containerization. A bug was found in Moby (Docker Engine) where attempting to copy files using `docker cp` into a specially-crafted container can result in Unix file permission changes for existing files in the host’s filesystem, widening access to others. This bug does not directly allow files to be read, modified, or executed without an additional cooperating process. This bug has been fixed in Moby (Docker Engine) 20.10.9. Users should update to this version as soon as possible. Running containers do not need to be restarted.
Additional publisher context
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Oct 4, 2021, 8:20:15 PM
dateUpdated: Aug 4, 2024, 2:59:31 AM
17 related source bulletins · separate from aliases
SUSE-SU-2025:03545-1: Security update for docker-stable
CVE-2014-3499 · CVE-2014-5277 · CVE-2014-6407 · CVE-2014-6408 · CVE-2014-8178 · CVE-2014-8179 · CVE-2014-9356 · CVE-2014-9357 · CVE-2014-9358 · CVE-2015-3627 · CVE-2015-3629 · CVE-2015-3630 · CVE-2015-3631 · CVE-2016-3697 · CVE-2016-8867 · CVE-2016-9962 · CVE-2017-14992 · CVE-2017-16539 · CVE-2018-10892 · CVE-2018-15664 · CVE-2018-16873 · CVE-2018-16874 · CVE-2018-16875 · CVE-2018-20699 · CVE-2019-13509 · CVE-2019-14271 · CVE-2020-12912 · CVE-2020-13401 · CVE-2020-15257 · CVE-2020-8694 · CVE-2020-8695 · CVE-2021-21284 · CVE-2021-21285 · CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092 · CVE-2021-41103 · CVE-2021-41190 · CVE-2021-43565 · CVE-2022-24769 · CVE-2022-27191 · CVE-2022-36109 · CVE-2023-28840 · CVE-2023-28841 · CVE-2023-28842 · CVE-2024-23650 · CVE-2024-23651 · CVE-2024-23652 · CVE-2024-23653 · CVE-2024-29018 · CVE-2024-41110 · CVE-2025-22868 · CVE-2025-22869
SUSE-SU-2021:3336-1: Security update for containerd, docker, runc
CVE-2021-30465 · CVE-2021-32760 · CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092 · CVE-2021-41103
openSUSE-SU-2024:11579-1: docker-20.10.9_ce-1.2 on GA media
CVE-2021-41089
SUSE-SU-2022:0213-1: Security update for containerd, docker
CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092 · CVE-2021-41103 · CVE-2021-41190
SSA-222547: SSA-222547: Third-Party Component Vulnerabilities in SCALANCE LPE9403 before V2.0
CVE-2020-27304 · CVE-2021-20317 · CVE-2021-33910 · CVE-2021-36221 · CVE-2021-39293 · CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092 · CVE-2021-41103 · CVE-2022-0847
SUSE-SU-2025:03540-1: Security update for docker-stable
CVE-2014-3499 · CVE-2014-5277 · CVE-2014-6407 · CVE-2014-6408 · CVE-2014-8178 · CVE-2014-8179 · CVE-2014-9356 · CVE-2014-9357 · CVE-2014-9358 · CVE-2015-3627 · CVE-2015-3629 · CVE-2015-3630 · CVE-2015-3631 · CVE-2016-3697 · CVE-2016-8867 · CVE-2016-9962 · CVE-2017-14992 · CVE-2017-16539 · CVE-2018-10892 · CVE-2018-15664 · CVE-2018-16873 · CVE-2018-16874 · CVE-2018-16875 · CVE-2018-20699 · CVE-2019-13509 · CVE-2019-14271 · CVE-2020-12912 · CVE-2020-13401 · CVE-2020-15257 · CVE-2020-8694 · CVE-2020-8695 · CVE-2021-21284 · CVE-2021-21285 · CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092 · CVE-2021-41103 · CVE-2021-41190 · CVE-2021-43565 · CVE-2022-24769 · CVE-2022-27191 · CVE-2022-36109 · CVE-2023-28840 · CVE-2023-28841 · CVE-2023-28842 · CVE-2024-23650 · CVE-2024-23651 · CVE-2024-23652 · CVE-2024-23653 · CVE-2024-29018 · CVE-2024-41110 · CVE-2025-22868 · CVE-2025-22869
RHSA-2022:0735: Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.4.2 security updates and bug fixes
CVE-2021-3807 · CVE-2021-3918 · CVE-2021-22963 · CVE-2021-41089 · CVE-2021-41091 · CVE-2021-43565 · CVE-2021-43816 · CVE-2021-43858 · CVE-2022-0235 · CVE-2022-24450
RHEA-2021:5066: Red Hat Enhancement Advisory: MTV 2.2.0 Images
CVE-2021-3749 · CVE-2021-41089 · CVE-2021-41091
WID-SEC-W-2023-1124: docker: Mehrere Schwachstellen
CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092
openSUSE-SU-2025:15589-1: docker-stable-24.0.9_ce-15.1 on GA media
CVE-2014-3499 · CVE-2014-5277 · CVE-2014-6407 · CVE-2014-6408 · CVE-2014-8178 · CVE-2014-8179 · CVE-2014-9356 · CVE-2014-9357 · CVE-2014-9358 · CVE-2015-3627 · CVE-2015-3629 · CVE-2015-3630 · CVE-2015-3631 · CVE-2016-3697 · CVE-2016-8867 · CVE-2016-9962 · CVE-2017-14992 · CVE-2017-16539 · CVE-2018-10892 · CVE-2018-15664 · CVE-2018-16873 · CVE-2018-16874 · CVE-2018-16875 · CVE-2018-20699 · CVE-2019-13509 · CVE-2019-14271 · CVE-2020-12912 · CVE-2020-13401 · CVE-2020-15257 · CVE-2020-8694 · CVE-2020-8695 · CVE-2021-21284 · CVE-2021-41089 · CVE-2021-41092 · CVE-2021-41190 · CVE-2021-43565 · CVE-2022-24769 · CVE-2022-36109 · CVE-2023-28840 · CVE-2023-28841 · CVE-2023-28842 · CVE-2024-23651 · CVE-2024-23652
ICSA-22-167-09: Siemens SCALANCE LPE9403 Third-Party Vulnerabilities
CVE-2020-27304 · CVE-2021-20317 · CVE-2021-33910 · CVE-2021-36221 · CVE-2021-39293 · CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092 · CVE-2021-41103 · CVE-2022-0847
WID-SEC-W-2022-1738: IBM InfoSphere Information Server: Mehrere Schwachstellen
CVE-2009-0217 · CVE-2009-2625 · CVE-2012-0881 · CVE-2012-2098 · CVE-2013-2172 · CVE-2013-4002 · CVE-2013-4517 · CVE-2015-4852 · CVE-2015-6420 · CVE-2015-7501 · CVE-2017-15708 · CVE-2019-13116 · CVE-2021-33813 · CVE-2021-36373 · CVE-2021-36374 · CVE-2021-40690 · CVE-2021-41089 · CVE-2021-41091 · CVE-2022-22442 · CVE-2022-23437 · CVE-2022-24769 · CVE-2022-30608 · CVE-2022-30615 · CVE-2022-31129 · CVE-2022-35642 · CVE-2022-35717 · CVE-2022-36109 · CVE-2022-40235 · CVE-2022-40747
SUSE-SU-2021:3506-1: Security update for containerd, docker, runc
CVE-2021-30465 · CVE-2021-32760 · CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092 · CVE-2021-41103
openSUSE-SU-2021:1404-1: Security update for containerd, docker, runc
CVE-2021-30465 · CVE-2021-32760 · CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092 · CVE-2021-41103
openSUSE-SU-2022:0334-1: Security update for containerd, docker
CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092 · CVE-2021-41103 · CVE-2021-41190
openSUSE-SU-2021:3506-1: Security update for containerd, docker, runc
CVE-2021-30465 · CVE-2021-32760 · CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092 · CVE-2021-41103
SUSE-SU-2022:0334-1: Security update for containerd, docker
CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092 · CVE-2021-41103 · CVE-2021-41190
- Source published
- Oct 4, 2021, 8:20:15 PM (timezone not stated)
- Source modified
- Aug 4, 2024, 2:59:31 AM (timezone not stated)
- Saved here
- 16 Nov 2026 00:14:08 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
EUVD CVSS 3.1 · 2.8 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N
nvd · CVE-2021-41089
PublishedMoby is an open-source project created by Docker to enable software containerization. A bug was found in Moby (Docker Engine) where attempting to copy files using `docker cp` into a specially-crafted container can result in Unix file permission changes for existing files in the host’s filesystem, widening access to others. This bug does not directly allow files to be read, modified, or executed without an additional cooperating process. This bug has been fixed in Moby (Docker Engine) 20.10.9. Users should update to this version as soon as possible. Running containers do not need to be restarted.
Additional publisher context
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-281
Original publisher date fields
published: 2021-10-04T21:15:12.620
lastModified: 2026-06-17T04:07:51.127
3 source CPE criteria · context only
- cpe:2.3:a:mobyproject:moby:*:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
- Source published
- 4 Oct 2021 21:15:12 UTC
- Source modified
- 17 Jun 2026 04:07:51 UTC
- Saved here
- 24 Oct 2026 19:17:25 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · [email protected] · Secondary · 2.8 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N
CVSS 3.1 · [email protected] · Primary · 6.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
CVSS 2.0 · [email protected] · Primary · 4.4 AV:L/AC:M/Au:N/C:P/I:P/A:P
osv · GHSA-v994-f8vw-g7j4
Published## Impact A bug was found in Moby (Docker Engine) where attempting to copy files using `docker cp` into a specially-crafted container can result in Unix file permission changes for existing files in the host’s filesystem, widening access to others. This bug does not directly allow files to be read, modified, or executed without an additional cooperating process. ## Patches This bug has been fixed in Moby (Docker Engine) 20.10.9. Users should update to this version as soon as possible. Running containers do not need to be restarted. ## Workarounds Ensure you only run trusted containers. ## Credits The Moby project would like to thank Lei Wang and Ruizhi Xiao for responsibly disclosing this issue in accordance with the [Moby security policy](https://github.com/moby/moby/blob/master/SECURITY.md). ## For more information If you have any questions or comments about this advisory: * [Open an issue](https://github.com/moby/moby/issues/new) * Email us at [email protected] if you think you’ve found a security bug
- Source published
- 10 Jun 2024 18:38:43 UTC
- Source modified
- 10 Sep 2026 03:50:15 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- GitHub Advisory Database · CC-BY-4.0
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS_V3 · CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N
Publisher rating · LOW
osv · GO-2024-2913
PublishedUnexpected chmod of host files via 'docker cp' in Moby Docker Engine in github.com/docker/docker
- Source published
- 14 Jun 2024 13:41:08 UTC
- Source modified
- 4 Feb 2026 03:21:51 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.