# CVE-2021-41092: Docker CLI leaks private registry credentials to registry-1.docker.io

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.61%, higher than 76% of CVEs (2026-12-01)
- Published: 2021-10-04T20:10:10.000Z
- Modified: 2026-10-16T09:45:04.791Z
- Also known as: GHSA-99pg-grm5-qq3v, BIT-DOCKER-CLI-2021-41092, GO-2024-2912
- Related: CGA-7fcw-gwmq-h6cg
- Weaknesses: CWE-200, CWE-522
- Assigned by: GitHub_M

## Description

Docker CLI is the command line interface for the docker container runtime. A bug was found in the Docker CLI where running `docker login my-private-registry.example.com` with a misconfigured configuration file (typically `~/.docker/config.json`) listing a `credsStore` or `credHelpers` that could not be executed would result in any provided credentials being sent to `registry-1.docker.io` rather than the intended private registry. This bug has been fixed in Docker CLI 20.10.9. Users should update to this version as soon as possible. For users unable to update ensure that any configured credsStore or credHelpers entries in the configuration file reference an installed credential helper that is executable and on the PATH.

(As written by CVE List.)

## Affected

- docker cli: < 20.10.9
- github.com/docker/cli (Go): before 20.10.9; before 20.10.9+incompatible
- docker command_line_interface: before 20.10.9
- fedoraproject fedora: 34; 35
- docker-cli (Bitnami): before 20.10.9

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/docker/cli/security/advisories/GHSA-99pg-grm5-qq3v> (advisory, third-party-advisory, web)
- <https://github.com/docker/cli/commit/893e52cf4ba4b048d72e99748e0f86b2767c6c6b> (advisory, fix, patch, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZNFADTCHHYWVM6W4NJ6CB4FNFM2VMBIB/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B5Q6G6I4W5COQE25QMC7FJY3I3PAYFBB/> (vendor-advisory, web)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41092> (advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B5Q6G6I4W5COQE25QMC7FJY3I3PAYFBB> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZNFADTCHHYWVM6W4NJ6CB4FNFM2VMBIB> (web)

## Sources

- CVE List: [CVE-2021-41092](https://www.cve.org/CVERecord?id=CVE-2021-41092), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-99pg-grm5-qq3v](https://github.com/advisories/GHSA-99pg-grm5-qq3v), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2912](https://pkg.go.dev/vuln/GO-2024-2912), CC-BY-4.0, modified 2026-02-22
- NVD: [CVE-2021-41092](https://nvd.nist.gov/vuln/detail/CVE-2021-41092), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DOCKER-CLI-2021-41092](https://osv.dev/vulnerability/BIT-DOCKER-CLI-2021-41092), Apache-2.0, modified 2026-10-16

---

Page: https://cve.day/CVE-2021-41092 · Whole record: https://cve.day/CVE-2021-41092.json · Rebuilt by cve.day 2026-11-25T22:58:04.294Z
