Description
Moby is an open-source project created by Docker to enable software containerization. A bug was found in Moby (Docker Engine) where the data directory (typically `/var/lib/docker`) contained subdirectories with insufficiently restricted permissions, allowing otherwise unprivileged Linux users to traverse directory contents and execute programs. When containers included executable programs with extended permission bits (such as `setuid`), unprivileged Linux users could discover and execute those programs. When the UID of an unprivileged Linux user on the host collided with the file owner or group inside a container, the unprivileged Linux user on the host could discover, read, and modify those files. This bug has been fixed in Moby (Docker Engine) 20.10.9. Users should update to this version as soon as possible. Running containers should be stopped and restarted for the permissions to be fixed. For users unable to upgrade limit access to the host to trusted users. Limit access to host volumes to trusted containers.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| moby | moby | < 20.10.9 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | docker.io | 20.10.10+dfsg1-1 | — |
| Debian 13 | docker.io | 20.10.10+dfsg1-1 | — |
| Debian 12 | docker.io | 20.10.10+dfsg1-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | docker.io | 20.10.7-0ubuntu5 | — |
| Ubuntu 20.04 LTS | docker.io | 20.10.7-0ubuntu5~20.04.1 | — |
| Ubuntu 18.04 LTS | docker.io | 20.10.7-0ubuntu5~18.04.2 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | docker-stable | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| SLES 15 SP6 | docker-stable | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| SLES 15 SP5 | docker-stable | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| SLES 15 SP4 | docker-stable | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| SLES 15 SP3 | containerd | 1.4.11-56.1 | SUSE-SU-2022:0334-1, SUSE-SU-2021:3506-1 |
| SLES 15 SP3 | docker | 20.10.9_ce-156.1 | SUSE-SU-2022:0334-1, SUSE-SU-2021:3506-1 |
| SLES 15 SP3 | docker-stable | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| SLES 15 SP3 | runc | 1.0.2-23.1 | SUSE-SU-2021:3506-1 |
Show 20 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP2 | containerd | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SLES 15 SP2 | docker | 20.10.9_ce-156.1 | SUSE-SU-2021:3506-1 |
| SLES 15 SP2 | runc | 1.0.2-23.1 | SUSE-SU-2021:3506-1 |
| SLES 15 SP1 | containerd | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SLES 15 SP1 | docker | 20.10.9_ce-156.1 | SUSE-SU-2021:3506-1 |
| SLES 15 SP1 | runc | 1.0.2-23.1 | SUSE-SU-2021:3506-1 |
| SLES 15 | containerd | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SLES 15 | docker | 20.10.9_ce-156.1 | SUSE-SU-2021:3506-1 |
| SLES 15 | runc | 1.0.2-23.1 | SUSE-SU-2021:3506-1 |
| SLES 12 SP5 | docker-stable | 24.0.9_ce-1.20.1 | SUSE-SU-2025:03540-1 |
| SLES 12 | containerd | 1.4.11-16.45.1 | SUSE-SU-2022:0213-1, SUSE-SU-2021:3336-1 |
| SLES 12 | docker | 20.10.9_ce-98.72.1 | SUSE-SU-2022:0213-1, SUSE-SU-2021:3336-1 |
| SLES 12 | runc | 1.0.2-16.14.1 | SUSE-SU-2021:3336-1 |
| SLES for SAP 15 SP5 | docker-stable | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| SLES for SAP 15 SP4 | docker-stable | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| SLES for SAP 15 SP3 | docker-stable | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| SLES for SAP 15 SP1 | containerd | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SLES for SAP 15 SP1 | docker | 20.10.9_ce-156.1 | SUSE-SU-2021:3506-1 |
| SLES for SAP 15 SP1 | runc | 1.0.2-23.1 | SUSE-SU-2021:3506-1 |
| SLES for SAP 15 | containerd | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SLES for SAP 15 | docker | 20.10.9_ce-156.1 | SUSE-SU-2021:3506-1 |
| SLES for SAP 15 | runc | 1.0.2-23.1 | SUSE-SU-2021:3506-1 |
| SLE Micro 5.1 | containerd | 1.4.11-56.1 | SUSE-SU-2022:0334-1, SUSE-SU-2021:3506-1 |
| SLE Micro 5.1 | docker | 20.10.9_ce-156.1 | SUSE-SU-2022:0334-1, SUSE-SU-2021:3506-1 |
| SLE Micro 5.1 | runc | 1.0.2-23.1 | SUSE-SU-2021:3506-1 |
| SLE Micro 5.0 | containerd | 1.4.11-56.1 | SUSE-SU-2022:0334-1, SUSE-SU-2021:3506-1 |
| SLE Micro 5.0 | docker | 20.10.9_ce-156.1 | SUSE-SU-2022:0334-1, SUSE-SU-2021:3506-1 |
| SLE Micro 5.0 | runc | 1.0.2-23.1 | SUSE-SU-2021:3506-1 |
| SLE HPC 15 SP5 | docker-stable | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| SLE HPC 15 SP4 | docker-stable | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| SLE HPC 15 SP3 | docker-stable | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| SLE HPC 15 SP1 | containerd | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SLE HPC 15 SP1 | docker | 20.10.9_ce-156.1 | SUSE-SU-2021:3506-1 |
| SLE HPC 15 SP1 | runc | 1.0.2-23.1 | SUSE-SU-2021:3506-1 |
| SLE HPC 15 | containerd | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SLE HPC 15 | docker | 20.10.9_ce-156.1 | SUSE-SU-2021:3506-1 |
| SLE HPC 15 | runc | 1.0.2-23.1 | SUSE-SU-2021:3506-1 |
| SUSE Enterprise Storage 7.1 | docker-stable | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| SUSE Enterprise Storage 7 | runc | 1.0.2-23.1 | SUSE-SU-2021:3506-1 |
| SUSE Enterprise Storage 6 | containerd | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE Enterprise Storage 6 | docker | 20.10.9_ce-156.1 | SUSE-SU-2021:3506-1 |
| SUSE Enterprise Storage 6 | runc | 1.0.2-23.1 | SUSE-SU-2021:3506-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.6 | docker-stable | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| openSUSE Leap 15.3 | containerd | 1.4.11-56.1 | openSUSE-SU-2022:0334-1, openSUSE-SU-2021:3506-1 |
| openSUSE Leap 15.3 | docker +1 | 20.10.9_ce-156.1 | openSUSE-SU-2022:0334-1, openSUSE-SU-2021:3506-1 |
| openSUSE Leap 15.3 | runc | 1.0.2-23.1 | openSUSE-SU-2021:3506-1 |
| openSUSE Leap 15.2 | containerd | 1.4.11-lp152.2.12.1 | openSUSE-SU-2021:1404-1 |
| openSUSE Leap 15.2 | docker | 20.10.9_ce-lp152.2.18.1 | openSUSE-SU-2021:1404-1 |
| openSUSE Leap 15.2 | runc | 1.0.2-lp152.2.9.1 | openSUSE-SU-2021:1404-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | docker | 20.10.9-r0 | — |
| Alpine v3.23 | docker | 20.10.9-r0 | — |
| Alpine v3.22 | docker | 20.10.9-r0 | — |
| Alpine v3.21 | docker | 20.10.9-r0 | — |
| Alpine v3.20 | docker | 20.10.9-r0 | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | docker | 20.10.9-r0 | — |
| Alpine v3.18 | docker | 20.10.9-r0 | — |
| Alpine v3.17 | docker | 20.10.9-r0 | — |
| Alpine v3.16 | docker | 20.10.9-r0 | — |
| Alpine v3.15 | docker | 20.10.9-r0 | — |
| Alpine v3.14 | docker | 20.10.9-r0 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | docker-machine-driver-harvester | 1.0.4-r1 | — |
| Wolfi rolling | rancher-machine | 0.15.0.137-r0 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 3 repositories
-
UncleJ4ck/CVE-2021-41091 ★ 66 · May 2, 2023
POC for CVE-2021-41091
-
SNE-M23-SN/Vulnerable-Docker-Engine ★ 2 · Jun 30, 2024
This exploit offers an in-depth look at the CVE-2021-41091 security vulnerability and provides a step-by-step guide on how to utilize the exploit script to achieve privilege escalation on a host.
-
jrbH4CK/CVE-2021-41091 ★ 0 · May 10, 2024
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/docker/docker | < 20.10.9 | 20.10.9 | GHSA-3fwx-pjgw-3558 |
| Go | github.com/docker/docker | < 20.10.9+incompatible | 20.10.9+incompatible | GO-2024-2500 |
| Go | github.com/moby/moby | < 20.10.9 | 20.10.9 | GHSA-3fwx-pjgw-3558 |
| Go | github.com/moby/moby | < 20.10.9+incompatible | 20.10.9+incompatible | GO-2024-2500 |
Advisories 14
- SUSE-SU-2025:03545-1 Security update for docker-stable SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2021:1404-1 Security update for containerd, docker, runc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0334-1 Security update for containerd, docker SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3506-1 Security update for containerd, docker, runc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0213-1 Security update for containerd, docker SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2022:0334-1 Security update for containerd, docker SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:03540-1 Security update for docker-stable SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:3506-1 Security update for containerd, docker, runc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3336-1 Security update for containerd, docker, runc SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2022-1738 IBM InfoSphere Information Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 3, 2025
- WID-SEC-2023-1124 docker: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 12, 2025
- WID-SEC-2022-1375 JFrog Artifactory: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 12, 2025
- ICSA-22-167-09 Siemens SCALANCE LPE9403 Third-Party Vulnerabilities CISA ICS & IT advisories · Jun 14, 2022
- SSA-222547 SSA-222547: Third-Party Component Vulnerabilities in SCALANCE LPE9403 before V2.0 Siemens ProductCERT · Jun 14, 2022