The issue arises from incorrect access control after a password reset link is sent via email and the user changes their default email. Mahara fails to invalidate the old link, allowing the link in the email to be used to gain access to the user's account.