Skip to main content
CVE-2026-138408VulnerabilityPublished

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

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-138408· High 7.7

Not known to be exploited · CVSS 7.7 High : upgrade to 17.0.2 or 15.0.12 soon.

Data as of 29 Nov 2026, 21:18 UTC

CVSS 3.1 base score
7.7High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (mitre)CVSS 3.17.7
Patch
Available – fixed in 17.0.2, 15.0.12
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Nov 2026.

What to do

Upgrade Forgejo to 17.0.2 or 15.0.12.

Affected software

ProductAffectedFixed in
ForgejoForgejoAffected
  • >=16.0.0 <17.0.2
Fixed in
  • 17.0.2
ForgejoForgejoAffected
  • >=9.0.0 <15.0.12
Fixed in
  • 15.0.12

AI-suggested

A fix is available in Forgejo versions 15.0.12 and 17.0.2. Users should upgrade to these or later versions to remediate the vulnerability. Until patched, administrators should consider disabling REGISTER_EMAIL_CONFIRM or restricting email address changes to verified addresses only, if possible. No vendor advisory content was provided to indicate otherwise.

Description

Forgejo versions before 15.0.12, all 16.x, and versions 17.x before 17.0.2 contain a vulnerability where an authenticated user can spoof the email_verified claim. This occurs because the backend does not verify if a secondary email address is activated before allowing it to be set as primary, despite the UI hiding this option. The OpenID Connect provider incorrectly derives email_verified from user activity status rather than the email's verification state. This flaw can lead to account takeover on external services relying on Forgejo for authentication.

References

Community reviews

Loading reviews…