SicherheitslageDEEN

CVE-2026-138408

Patch priority

Regular

Fix with the next regular update.

CVSS
7.7
Severity
7.7
EPSS
0.6 %
Percentile
50
Actively exploited
not known

The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary

What do I need to do?

in plain words

Who is affected?

The affected product is not specified yet – the description below usually names it.

How dangerous is it?

What to do?

  1. Include it in your next regular update.
  2. The vendor’s advisories (linked below) name the fixed version.
  3. If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.

Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained

Description

NVD

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.

Published
29.11.2026
Modified
01.12.2026
CWE
CWE-602
Status
Deferred

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

Vendor reference

Vendor updates

0

No vendor update for this CVE has been recorded here yet. Check the vendor reference.

Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.