Critical Docker Hub vulnerability let attackers impersonate users and tamper with container images

Flaw in personal access token reassignment exposed software supply chain risk before being patched within hours

By LineZotpaper
Published
Read Time3 min
Docker has disclosed a critical vulnerability in Docker Hub that allowed attackers to impersonate other users and potentially tamper with container images by exploiting a flaw in how personal access tokens (PATs) were reassigned during account-to-organization conversions.

Docker disclosed a critical vulnerability (CVE-2026-105445) in Docker Hub that let attackers access another user's container repositories using a personal access token (PAT). Docker Hub is an online registry for storing, sharing, and downloading container images, which are templates that package everything needed for an application to run in an isolated environment. In Docker Hub, a PAT serves as a secret used to authenticate tools and workflows, allowing users to pull, push, or delete container images.

According to a security bulletin from the Docker team, an attacker could create an account and PAT, then convert the account into an organization and name a target user as its owner. The flaw stemmed from Docker Hub reassigning a PAT to a designated organization owner without changing its secret or obtaining the target's consent. This allowed the attacker to use the token to authenticate as the target. Depending on the token's scope and the target's permissions, attackers could pull, push, or delete images in the target's repositories and accessible organizations.

"Within the scope of the token, a re-assigned PAT acted as the target user at the registry level, meaning an attacker could potentially pull, push, and/or delete images in the target's repositories and in organizations where the target had access," Docker explained. "Because that includes publishing images under a legitimate name, we treated this as a software supply chain risk and rated it critical."

The vulnerability was introduced on August 26, 2024, when the conversion process started reassigning the personal account PAT to the new owner without revoking or rotating the secret and without asking the named owner to confirm the change. Docker said the flaw did not provide Docker Hub web access or allow attackers to change passwords, email addresses, or two-factor settings.

On September 30, 2026, Docker received a vulnerability report describing the issue, confirmed it, and deployed a fix to production less than four hours later. Docker examined 304,000 pushes made with transferred tokens and analyzed high-risk public images, finding no evidence of exploitation. Affected users and organization owners were notified on October 2, and transferred PATs were deactivated on October 8, except for those whose owners explicitly requested to retain them. Docker says users who did not receive a notification should assume they were not impacted. The platform no longer transfers PATs during conversion and now requests user consent before naming them an organization owner.

§

Analysis

Why This Matters

  • Container images are a critical part of modern software development and deployment; a vulnerability that allows tampering with them poses a supply chain risk to any organization using Docker Hub.
  • The flaw could have enabled attackers to inject malicious code into images trusted by downstream users, potentially leading to widespread compromise.
  • Docker's rapid response (fix in under four hours) highlights the severity, but the introduction of the bug over two years ago raises questions about testing of the conversion feature.

Background

Docker Hub is the default public registry for Docker container images, serving millions of developers. Personal access tokens (PATs) are commonly used in CI/CD pipelines and automation scripts to authenticate to Docker Hub without sharing passwords. In 2024, Docker introduced a feature allowing users to convert a personal account into an organization, which would transfer ownership and associated assets. The vulnerability occurred because PATs were transparently reassigned to the new organization owner without changing the token secret or obtaining consent from the named user.

Key Perspectives

Docker: Acted swiftly upon disclosure, deployed a fix within hours, and conducted a retrospective analysis of over 300,000 pushes. They found no evidence of active exploitation and have changed the conversion process to prevent recurrence. Affected users and organizations: Those whose PATs were transferred may have had their repositories exposed. Docker notified affected parties and deactivated transferred tokens. Users whose tokens were explicitly retained may still need to rotate them manually. Security community and supply chain experts: This vulnerability is categorized as a software supply chain risk because it could allow an attacker to publish malicious images under a legitimate identity, undermining trust in the registry. The incident underscores the need for robust identity and token management in critical infrastructure tools.

What to Watch

  • Whether any undiscovered exploitation is later identified through deeper forensic analysis.
  • How Docker communicates future changes to the account conversion process, particularly around consent and token revocation.
  • Possible scrutiny from regulators or industry bodies regarding software supply chain security practices in container registries.

Sources

Zotpaper

Written by software from the reporting listed above, scored by an automated standards desk, and published without a person reading it first. If something here is wrong, tell the editor and it will be put right.

How we workSubscribe