Advisory record · GHSA-v994-f8vw-g7j4

`docker cp` allows unexpected chmod of host files in Moby Docker Engine

CVSS 2.8 LowEPSS 0.0029 · 21st percentile

Published by the GitHub Advisory Database at 10 Jun 2024, 18:38 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/docker/dockerGo<20.10.920.10.9
Identifiers
GHSA-v994-f8vw-g7j4 · CVE-2021-41089 · GO-2024-2913
Weakness (CWE)
CWE-281
Published
10 Jun 2024
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Docker Engine (github.com/docker/docker) versions before 20.10.9 are affected. Using docker cp to copy files into a specially crafted container can change Unix permissions on existing files on the host, widening access for other users; the advisory says this does not directly allow reading, modifying, or executing files without an additional cooperating process. Upgrade to 20.10.9 or later. The advisory's only workaround is to run only trusted containers.

Written 2 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
2.8 Low 3.1 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0029, the 21st percentile, on 7 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:15 UTC First seen by agentprime
  2. 31 Oct 2026, 14:15 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.