{"cve":"CVE-2021-41091","nvd":{"published":"2021-10-04T21:15:12.680","modified":"2026-06-17T04:07:51.413","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","score":6.3},"cwes":["CWE-732","CWE-281"],"references":["https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf","https://github.com/moby/moby/commit/f0ab919f518c47240ea0e72d0999576bb8008e64","https://github.com/moby/moby/security/advisories/GHSA-3fwx-pjgw-3558","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B5Q6G6I4W5COQE25QMC7FJY3I3PAYFBB/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZNFADTCHHYWVM6W4NJ6CB4FNFM2VMBIB/"],"products":["fedoraproject:fedora","mobyproject:moby"],"source":"nvd","synced_at":"2026-10-19T21:23:41.316049955+00:00"},"epss":{"cve":"CVE-2021-41091","score":0.02848,"percentile":0.86702,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-3fwx-pjgw-3558","url":"https://osv.dev/vulnerability/GHSA-3fwx-pjgw-3558","summary":"Moby (Docker Engine) Insufficiently restricted permissions on data directory","modified":"2026-09-10T03:50:04.752424169Z","packages":[{"ecosystem":"Go","name":"github.com/moby/moby","purl":"pkg:golang/github.com/moby/moby","ranges":["<20.10.9"],"fixed":["20.10.9"]},{"ecosystem":"Go","name":"github.com/docker/docker","purl":"pkg:golang/github.com/docker/docker","ranges":["<20.10.9"],"fixed":["20.10.9"]}]},{"id":"GO-2024-2500","url":"https://osv.dev/vulnerability/GO-2024-2500","summary":"Moby (Docker Engine) Insufficiently restricted permissions on data directory in github.com/docker/docker","modified":"2026-02-04T03:22:20.424113Z","packages":[{"ecosystem":"Go","name":"github.com/docker/docker","purl":"pkg:golang/github.com/docker/docker","ranges":["<20.10.9+incompatible"],"fixed":["20.10.9+incompatible"]},{"ecosystem":"Go","name":"github.com/moby/moby","purl":"pkg:golang/github.com/moby/moby","ranges":["<20.10.9+incompatible"],"fixed":["20.10.9+incompatible"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}