A Critical Flaw in Docker Hub's Account Conversion Process

Docker has fixed a critical vulnerability in Docker Hub that could allow one user to perform container registry operations as another user. Tracked as CVE-2026-105445, the flaw received a CVSS 4.0 score of 9.4 and remained present for just over two years.

The vulnerability, named GhostPat by its discoverers, affected the process for converting a personal Docker account into an organization. Docker deployed the fix on September 30, 2026. Because the company corrected the issue directly on Docker Hub, users do not need to install a software update.

How the GhostPat Vulnerability Worked

Docker Hub uses personal access tokens (PATs) to authenticate registry operations without requiring a user's password. Depending on their permissions, these tokens can allow users and automated systems to pull, push, or delete container images.

During account conversion, Docker Hub transferred the personal access tokens associated with the original account to the account designated as the new organization's owner. However, the platform left each token's secret unchanged, allowing its original creator to continue using it.

This behavior created a serious identity mismatch. An attacker could create a token on an account they controlled, convert that account into an organization, and designate another Docker user as its owner. The transferred token could then authorize registry operations under the designated owner's identity.

The vulnerability did not provide complete control over the victim's Docker account. Instead, it affected access to the container registry within the token's permission scope. It did not allow attackers to change passwords, email addresses, or two-factor authentication settings through the Docker Hub website.

Nevertheless, the ability to publish images under a trusted account or organization created a significant software supply chain risk.

Why Unauthorized Image Publishing Matters

Container images often form a critical part of modern software delivery pipelines. Developers, cloud platforms, and production environments rely on trusted registries to retrieve application components and dependencies.

Consequently, an attacker who publishes a malicious image under a legitimate publisher's name could exploit existing trust relationships. Organizations might download and deploy a compromised image without realizing that someone had tampered with it.

The risk is particularly important for automated build and deployment pipelines. If a stolen or misused token has write permissions, an attacker could modify published artifacts and potentially introduce malicious code into downstream environments.

Docker previously reported malicious Trivy and KICS images published through compromised publisher credentials in March and April 2026. Although those incidents involved stolen credentials, they demonstrate why unauthorized publishing on trusted container registries deserves serious attention.

Docker's Investigation Found No Evidence of Exploitation

Docker reviewed account conversions performed during the vulnerable period and compared them with registry logs and token records. The company also examined approximately 304,000 image pushes associated with the investigation.

According to Docker, the review found no evidence that attackers exploited GhostPat. Most reviewed pushes involved accounts controlled by the same person or team. For cases where common ownership could not be confirmed, Docker examined the highest-risk public images without executing them and found no evidence of malware or tampering.

However, the investigation has an important limitation. Registry logs record token usage rather than every token that exists. Therefore, an affected token that was never used might leave no corresponding activity record.

Docker treated every token transferred during the vulnerable period as potentially affected, regardless of whether the logs showed its use. The published advisory describes the findings for image pushes but does not provide equivalent findings for pulls or deletions involving transferred tokens.

What Docker Users Should Do

Docker deactivated the identified transferred tokens on October 8, 2026, except for tokens their owners had requested to retain. The company also notified affected users and organization owners by email on October 2.

Docker states that users who did not receive an email were not exposed to this vulnerability. Those who received a notification should nevertheless review their credentials and related activity carefully.

Organizations should take the following steps:

  • Audit personal access tokens: Review token descriptions, creation dates, last-used dates, and permissions. Investigate any token you do not recognize.
  • Check organization memberships: Look for unfamiliar organizations in your Docker account switcher and verify that each membership is legitimate.
  • Rotate CI/CD credentials: Replace potentially affected tokens used by build systems, deployment pipelines, and other automated workflows.
  • Review image integrity: Check signatures and build provenance for published images where unauthorized changes could affect production systems.
  • Inspect registry activity: Organization owners should review available activity logs for unexpected image pushes, unfamiliar tokens, and suspicious tag changes.
  • Use organization access tokens: Where the subscription supports them, prefer organization-managed credentials for automation that belongs to a team rather than relying on one employee's personal token.

Docker organization access tokens require a Docker Team or Docker Business subscription. They provide an organization-managed alternative for supported automation workflows.

Lessons for CISOs and Security Teams

GhostPat highlights a broader security challenge: credential ownership must remain consistent when organizations change account structures or access relationships.

Security controls should not assume that changing an account's ownership automatically transfers authorization safely. Instead, platforms need explicit consent, clear notifications, reliable audit trails, and mechanisms to revoke credentials when ownership changes.

For CISOs and security teams, this incident reinforces several priorities:

  • Protect software supply chains: Treat container registries as critical infrastructure because compromised images can affect multiple downstream applications.
  • Strengthen credential governance: Apply least privilege, regular token reviews, expiration policies where supported, and prompt revocation of unnecessary credentials.
  • Verify software artifacts: Use image signing, provenance verification, and controlled deployment policies to reduce the risk of deploying unauthorized images.
  • Monitor identity changes: Alert on unexpected changes to account ownership, organization membership, token ownership, and repository permissions.
  • Reduce dependence on individual accounts: Use centrally managed credentials and documented ownership procedures for business-critical automation.

These controls can help organizations reduce the impact of compromised credentials and unauthorized changes, even when a vulnerability affects a trusted technology provider.

The Bigger Picture

Docker has corrected GhostPat and says its investigation found no evidence of exploitation. However, the incident demonstrates how a seemingly routine account conversion can introduce a serious security weakness when a platform mishandles credential ownership.

For organizations operating containerized workloads, the next step is not simply to trust the vendor's patch. Security teams should also verify their own access controls, audit logs, image integrity, and automation credentials.

Ultimately, secure container operations depend on more than protecting passwords. They require continuous oversight of identities, tokens, software artifacts, and the trust relationships that connect development environments to production systems.