The vulnerability, CVE-2026-63472, describes an account takeover scenario in Vendure's external authentication mechanism. The core issue lies in the ExternalAuthenticationService.createCustomerAndUser function. This function is responsible for handling the creation of new user accounts or linking external authentication methods to existing accounts. The vulnerability specifically occurs when an existingUser is found based on an email address provided by an external authentication strategy. Prior to the patch, the system would proceed to link the external authentication method to this existingUser without checking if the config.verified flag was set to true. This allowed an attacker to present an unverified email address (matching a victim's existing account) through a misconfigured or malicious external authentication provider, thereby binding their external identity to the victim's account and gaining unauthorized access. The provided patch clearly demonstrates the fix by adding a conditional check if (!config.verified) within the if (existingUser) block, which now throws an UnverifiedExternalEmailError if the email is not verified, preventing the account takeover. Therefore, the createCustomerAndUser function is the precise vulnerable function that would be involved in the exploitation of this vulnerability.