Technical impact
Forgejo prior to specific release versions allows an authenticated user to elevate an unverified secondary email to primary without proper verification. This creates a false email_verified claim in OIDC tokens and permits the attacker to impersonate the real user in external relying parties that use the claim for authentication. The vulnerability is a CWE-602 inappropriate influence flaw.
Affected Systems
Affected versions are all releases of Forgejo prior to 15.0.12, all 16.x releases, and all 17.x releases before 17.0.2. The product is listed as Forgejo:Forgejo along with the corresponding CPE strings.
Risk and Exploitability
The CVSS score is 7.7, indicating high severity with no exploit probability data available. It is not listed in the CISA KEV catalog. The likely attack vector requires an authenticated user with access to the account; the exploit can target external services that trust Forgejo’s OIDC email_verified claim, potentially allowing complete takeover of legitimate user accounts on other systems.