Analysis and contextual insights are available on OpenCVE Cloud.
No solution or workaround provided in the CVE record.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
No advisories yet.
Sun, 29 Nov 2026 18:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | In Forgejo before 15.0.12 and 16.x and 17.x before 17.0.2, email_verified can be spoofed, sometimes leading to account takeover in external services that rely on Forgejo for authentication. It allows an authenticated user to set an unverified secondary email address as their primary email address when [service] REGISTER_EMAIL_CONFIRM is enabled. Although the web UI hides the "Make primary" button for unverified addresses, the backend POST /user/settings/account/email handler (EmailPost in routers/web/user/setting/account.go) and MakeEmailAddressPrimary in services/user/email.go did not check whether the email address was activated. Because Forgejo's OpenID Connect (OIDC) provider derives the email_verified claim from user.IsActive rather than the primary email address's activation state, an attacker can obtain signed ID tokens asserting email_verified: true for an arbitrary unverified email address, and potentially take over accounts on external relying parties that match users by verified email. | |
| First Time appeared |
Forgejo
Forgejo forgejo |
|
| Weaknesses | CWE-602 | |
| CPEs | cpe:2.3:a:forgejo:forgejo:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Forgejo
Forgejo forgejo |
|
| References |
|
|
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2026-11-29T17:55:09.458Z
Reserved: 2026-11-29T17:55:08.600Z
Link: CVE-2026-138408
No data.
Status : Deferred
Published: 2026-11-29T18:17:08.923
Modified: 2026-11-29T18:17:09.047
Link: CVE-2026-138408
No data.
OpenCVE Enrichment
No data.
-
CWE-602
Client-Side Enforcement of Server-Side Security