September 24, 2026
The Removed Email That Led to a $500 Account Takeover
How a removed email address continued to receive password-reset links.

By Murali Dharan
2 min read
Hey everyone! π
I'm back with another bug bounty write-up.
While testing a web application, I found an issue in the email management and password-reset functionality that allowed a previously removed email address to receive a valid password-reset link.
The vulnerability resulted in Account Takeover (ATO) and was rewarded with a $500 bounty. π°
π What I Found
I created an account with:
attacker@example.comattacker@example.comThen I added and verified:
secondary@example.comsecondary@example.comI changed secondary@example.com to the primary email and removed:
attacker@example.comattacker@example.comAt this point, the old email was no longer associated with the account.
However, the password-reset flow still trusted the removed email.
π§ͺ Steps to Reproduce
- Create an account with
attacker@example.com. - Add and verify
secondary@example.com. - Change the primary email to
secondary@example.com. - Remove
attacker@example.com. - Go to Forgot Password.
- Enter the current email:
secondary@example.comsecondary@example.com- The password-reset link is sent to:
attacker@example.comattacker@example.comThe important part is that I didn't enter the removed email in the password-reset form.
The current email triggered the reset, but the application sent the link to the previously removed email.
π Account Takeover
Since I still controlled attacker@example.com, I opened the reset link and changed the account password.
I then verified:
Old Password β Invalid login credentials
New Password β Login successfulOld Password β Invalid login credentials
New Password β Login successfulThis confirmed that the reset link could actually change the account password and resulted in Account Takeover.
Attack Flow
Create Account
β
Add & Verify Secondary Email
β
Make Secondary Email Primary
β
Remove Old Email
β
Forgot Password
β
Enter Current Email
β
Reset Link Sent to Removed Email
β
Change Password
β
Account TakeoverCreate Account
β
Add & Verify Secondary Email
β
Make Secondary Email Primary
β
Remove Old Email
β
Forgot Password
β
Enter Current Email
β
Reset Link Sent to Removed Email
β
Change Password
β
Account Takeoverπ§ Why This Happened
The issue appeared to be an inconsistency between email management and password recovery.
The application considered the old email removed:
attacker@example.com β Removed βattacker@example.com β Removed βBut the password-reset functionality still treated it as a valid recovery destination:
secondary@example.com
β
Password Reset
β
attacker@example.comsecondary@example.com
β
Password Reset
β
attacker@example.comThis meant removing the email did not completely revoke its role in the recovery process.
β οΈ Impact
An attacker who still controlled a previously associated email could potentially:
- Reset the account password
- Gain unauthorized access
- Modify account information
- Potentially lock out the legitimate user
π οΈ Recommended Fix
Password-reset links should only be sent to currently authorized and verified email addresses.
The application should:
- Remove deleted emails from password-recovery eligibility.
- Verify the current email-to-account relationship before generating reset tokens.
- Never use historical email addresses for password recovery.
- Invalidate recovery tokens when an email is removed.
- Add regression tests for email changes and removals.
Once an email is removed from an account, it should no longer be trusted for account recovery.
π Responsible Disclosure
I reported the issue with detailed reproduction steps, impact information, and proof-of-concept evidence.
After review, the vulnerability was rewarded with a $500 bounty. π°
π‘ Key Takeaway
This finding reminded me that removing an authentication factor from one part of an application doesn't always mean it has been revoked everywhere.
When testing account-management functionality, I also check how changes affect:
Email Management
β
Email Verification
β
Password Reset
β
Account Recovery
β
AuthenticationEmail Management
β
Email Verification
β
Password Reset
β
Account Recovery
β
AuthenticationA small inconsistency between two workflows can sometimes lead to a serious security vulnerability.
π― Final Thoughts
This was a good example of how an email-management flaw can turn into an account-takeover vulnerability.
The key lesson:
If an authentication factor is removed, make sure it is revoked everywhere it can be used.
Contact :
LinkedIn: https://www.linkedin.com/in/murali-dharan-k-7a6b90259/
Thanks for reading till this point!
That's all for this blog. Hope you liked it.
β¦Thank You!!! π