CVE-2021-41089`docker cp` allows unexpected chmod of host files
- 2.8LowCVSS base score
- 0.29%Exploitation in 30 daysEPSS · top 78% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
Moby 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.
Timeline
ID reserved
By GitHub_M
- 19 days later
· 19 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Low2.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N |
| NVDNVD · Modified | 3.1 | Medium6.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L |
- EPSS (exploitation in 30 days)
- 0.29% · top 78% of all CVEs (19 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 2.8.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/docker/dockerGHSA-v994-f8vw-g7j4 (opens in a new tab)
References
References5
- https://github.com/moby/moby/security/advisories/GHSA-v994-f8vw-g7j4 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/moby/moby/commit/bce32e5c93be4caf1a592582155b9cb837fc129a (opens in a new tab)x_refsource_MISCx_transferred
- FEDORA-2021-df975338d4 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2021-b5a9a481a2 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-2176 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-v994-f8vw-g7j4 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-41089)Record last updated .