Technical impact
The vulnerability allows an attacker who controls a legitimate email address to obtain a verification token, change the account’s email to a different address they control, and then redeem the token for the original address. Because the token was bound only to the user’s identifier, not to the email, the second address is marked as verified after redemption. This results in arbitrary spoofing of verified email addresses, which can be used by downstream applications that trust verified email for identity matching or provisioning, potentially linking the attacker’s identity to another user’s account. The weakness is a missing check on email binding and is categorized as CWE‑345.
Affected Systems
Pocket ID, the open‑source OIDC provider, is affected. All releases from version 2.2.0 up to, but not including, 2.12.0 are vulnerable. The default configuration uses emailsVerified = false and allowOwnAccountEdit = true; the target email address must not already belong to another Pocket ID user.
Risk and Exploitability
The public exploitability is high with a CVSS score of 9.6, indicating that a successful exploitation results in a complete breakdown of the email verification trust chain. No EPSS score is presently available, and the vulnerability is not listed in the CISA KEV catalog. The attack requires access to a valid email address and the ability to perform a credentialed email change via the UpdateUser API, but it does not require any additional privileges. A relying application that uses verified emails for automatic account matching or provisioning can be compromised, while one that depends solely on the stable OIDC sub claim remains unaffected.
Github GHSA