This incident report details a critical vulnerability in Docker Hub's account conversion process that allowed for the unauthorized transfer of Personal Access Tokens (PATs) between users. By identifying and resolving an improper re-assignment of token ownership, Docker prevented potential supply chain risks and implemented new consent requirements and audit logging for credential changes.
Key points
Changing ownership of a credential record without rotating the underlying secret creates significant privilege escalation risks.
System-level object re-assignment should always require explicit authorization or notification to the new owner.
Automated token ownership changes should be recorded in immutable audit logs to enable rapid forensic impact analysis.
Prefer specialized organization access tokens over user-based PATs for automated CI/CD workflows.