Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

CVE-2021-41089

moby: `docker cp` allows unexpected chmod of host file

Overview

Published
4 Oct 2021
Modified
17 Jun 2026
Medium CVE
1 Registry packages
31 OS packages
12 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

6.3 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L

Weakness: CWE-281

Affected packages · 1

Packages affected by CVE-2021-41089
EcosystemPackageVulnerableFixed in
Go github.com/docker/docker <20.10.9 20.10.9

Open a package to see all its vulnerabilities.

Operating systems · 34 fixes

Photon OS 1 release · 1 package

fixed 1
docker
Photon OS fixes for CVE-2021-41089
ReleasePackageFixed in
4.0 docker +4 19.03.15-5.ph4

Red Hat 1 release · 1 package

eol 1
atomic
Red Hat fixes for CVE-2021-41089
ReleasePackageFixed in
7 atomic +13 eol

SUSE Linux Enterprise 5 releases · 1 package

fixed 5
docker-stable
SUSE Linux Enterprise fixes for CVE-2021-41089
ReleasePackageFixed inAdvisory
12.5 docker-stable +1 24.0.9_ce-1.20.1 SUSE-SU-2025:03540-1
15.4 docker-stable +1 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
15.5 docker-stable +1 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
15.6 docker-stable +2 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
15.7 docker-stable +2 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1

SUSE Linux Enterprise Micro 2 releases · 3 packages

fixed 6
runc containerd docker
SUSE Linux Enterprise Micro fixes for CVE-2021-41089
ReleasePackageFixed inAdvisory
5.0 runc 1.0.2-23.1 SUSE-SU-2021:3506-1
5.0 containerd 1.4.11-56.1 SUSE-SU-2021:3506-1
5.0 docker 20.10.9_ce-156.1 SUSE-SU-2021:3506-1
5.1 runc 1.0.2-23.1 SUSE-SU-2021:3506-1
5.1 containerd 1.4.11-56.1 SUSE-SU-2021:3506-1
5.1 docker 20.10.9_ce-156.1 SUSE-SU-2021:3506-1

alpine 4 releases · 1 package

fixed 4
docker
alpine fixes for CVE-2021-41089
ReleasePackageFixed in
3.22 docker 20.10.9-r0
3.23 docker 20.10.9-r0
3.24 docker 20.10.9-r0
edge docker 20.10.9-r0

chainguard 1 release · 1 package

fixed 1
docker
chainguard fixes for CVE-2021-41089
ReleasePackageFixed in
docker 28.0.2-r0

debian 5 releases · 1 package

affected 1 fixed 4
docker-io
debian fixes for CVE-2021-41089
ReleasePackageFixed in
10 docker-io affected
11 docker-io 20.10.5+dfsg1-1+deb11u1
12 docker-io 20.10.10+dfsg1-1
13 docker-io 20.10.10+dfsg1-1
14 docker-io 20.10.10+dfsg1-1

echo 1 release · 1 package

fixed 1
docker-io
echo fixes for CVE-2021-41089
ReleasePackageFixed in
docker-io 20.10.10+dfsg1-1

openSUSE 1 release · 3 packages

fixed 3
docker-stable-buildx docker docker-stable
openSUSE fixes for CVE-2021-41089
ReleasePackageFixed inAdvisory
Tumbleweed docker-stable-buildx 0.25.0-15.1 openSUSE-SU-2025:15589-1
Tumbleweed docker +3 20.10.9_ce-1.2 openSUSE-SU-2024:11579-1
Tumbleweed docker-stable +4 24.0.9_ce-15.1 openSUSE-SU-2025:15589-1

root.io debian 1 release · 1 package

fixed 1
rootio-docker-io
root.io debian fixes for CVE-2021-41089
ReleasePackageFixed in
12 rootio-docker-io 20.10.10+dfsg1-1

ubuntu 5 releases · 1 package

fixed 5
docker-io
ubuntu fixes for CVE-2021-41089
ReleasePackageFixed in
18.04 docker-io 20.10.7-0ubuntu1~18.04.2
18.04-ESM docker-io 20.10.7-0ubuntu1~18.04.2
20.04 docker-io 20.10.7-0ubuntu1~20.04.2
20.04-ESM docker-io 20.10.7-0ubuntu1~20.04.2
22.04 docker-io 20.10.7-0ubuntu7

wolfi 1 release · 1 package

fixed 1
docker
wolfi fixes for CVE-2021-41089
ReleasePackageFixed in
docker 28.0.2-r0

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.