The Gmail “Zombie Token” Google Refused to Kill
A confirmation token for Gmail's 'Send Mail As' feature was not bound to a user session and remained valid after alias cancellation, password reset, or OAuth revocation. An attacker who obtained the token could replay it to send emails as the victim with valid DKIM and SPF signatures.
osintteam.blog
Published on osintteam.blog
I reported a vulnerability to Google VRP (Vulnerability Reward Program) on April 22, 2026. The report described a logic flaw in Gmail’s “Send Mail As” (also called “Send mail as” or custom SMTP alias) feature — a mechanism that allows users to send emails through Gmail using a different “from” address.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the confirmation token was not bound to a user session and was not invalidated server-side when the alias was cancelled, the password was reset, or OAuth access was revoked.
Impact
An attacker with the confirmation link could send emails as the victim with valid DKIM and SPF signatures, even after the victim cancelled the alias or reset their password; Google closed the report as not severe enough to track.
What the attacker needed
Attacker obtains the confirmation link; victim has a Gmail account
The fix
The token should be bound to the user's account and session, and invalidated server-side when the alias is cancelled or a password reset occurs.
How it was found
- Set up 'Send Mail As' in Gmail to trigger a confirmation email to the target address.
- Capture the confirmation link from that email.
- Have the victim cancel the alias, reset their password, sign out of all sessions, and revoke OAuth access.
- Open a fresh incognito window and replay the captured confirmation link.
- Observe that the alias is re-activated and emails can be sent as the victim.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
When you add a 'Send Mail As' address in Gmail, Google sends a confirmation link to prove you own that address. The bug is that this link keeps working forever, even after you cancel the alias or change your password. If someone else gets that link, they can use it later to send emails pretending to be you.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.