CVE-2026-138408: Vulnerability in Forgejo

Patch soon. 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...

CWE-602

Exploitation
None confirmed
Severity
7.7 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-99gf-43gm-6rwh
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
Weakness
CWE-602
Published
29 Nov 2026
Last change
1 Dec 2026

Affected products

Affected versions and the first fixed release

  • Forgejo From 9.0.0 before 15.0.12; From 16.0.0 before 17.0.2. Fixed in 15.0.12, 17.0.2

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related