Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-41092

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-41092
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:20 UTC · Revision 1

Source evidence

CVE-2021-41092

core-osv · Original source

Published 4 Oct 2021, 20:15 UTC

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.

osv:CVE-2021-41092
Complete source record
{
  "id": "63480cd4916ca1d9bc93985f928e1c1a59bb434b8083a410c0b3682daa609ee8",
  "url": "https://osv.dev/vulnerability/CVE-2021-41092",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-41092",
    "summary": "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.",
    "evidence": "osv:CVE-2021-41092",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-41092",
      "aliases": [
        "BIT-docker-cli-2021-41092",
        "CVE-2021-41092",
        "GHSA-99pg-grm5-qq3v",
        "GO-2024-2912"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/docker/cli",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "c2ea9bc90bacf19bdbe37fd13eec8772432aca99"
                },
                {
                  "fixed": "893e52cf4ba4b048d72e99748e0f86b2767c6c6b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:docker:command_line_interface:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "20.10.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "893e52cf4ba4b048d72e99748e0f86b2767c6c6b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v20.10.8",
            "v20.10.7",
            "v20.10.6",
            "v20.10.5",
            "v20.10.4",
            "v20.10.3",
            "v20.10.2",
            "v20.10.1",
            "v20.10.0",
            "v20.10.0-rc2",
            "v20.10.0-rc1",
            "v20.10.0-beta1",
            "v19.03.0-beta3",
            "v19.03.0-beta2",
            "v19.03.0-beta1",
            "v18.09.0-ce-tp4",
            "v18.09.0-ce-tp3",
            "v18.09.0-ce-tp0",
            "v18.06.0-ce-rc1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41092.json"
          }
        }
      ],
      "modified": "2026-10-20T10:53:58.785077151Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf",
        "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/",
        "https://github.com/docker/cli/security/advisories/GHSA-99pg-grm5-qq3v",
        "https://github.com/docker/cli/commit/893e52cf4ba4b048d72e99748e0f86b2767c6c6b"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "34"
                  },
                  {
                    "last_affected": "34"
                  },
                  {
                    "introduced": "35"
                  },
                  {
                    "last_affected": "35"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-41092",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384798,
  "published_at": "2021-10-04T20:15:07.757+00:00"
}