Pocket ID: Email verification token remains valid after address change, enabling arbitrary verified-email spoofing
- CVE-2026-115770
- GHSA-rm8c-2cv8-jwf6
- GO-2026-6957
Description
Pocket ID is an OIDC provider that allows users to authenticate with their passkeys to services. From 2.2.0 until 2.12.0, SendEmailVerification uses the token model in backend/internal/model/email_verification_token.go to bind an email-verification token only to the user's identifier, while UpdateUser can change the account email without invalidating the outstanding token and VerifyEmail marks the current address as verified. An ordinary user can request a token for an address they control, change the account to an arbitrary unused address, and redeem the old token so Pocket ID publishes the new address with email_verified set to true. The default affected configuration uses emailsVerified=false and allowOwnAccountEdit=true; the target address must not already belong to another Pocket ID user. A relying application that trusts a verified email for automatic account matching or provisioning can link the attacker's identity to another user's account, while applications that rely exclusively on the stable OIDC sub claim are not affected by that downstream consequence. This issue is fixed in version 2.12.0.
Text from the CVE.org record.
Affected
pocket-id
- >= 2.2.0, < 2.12.0
github.com/pocket-id/pocket-id/backendGo
- all versions, fixed in 0.0.0-20260727180059-43aaccd5bfac
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.