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
- codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/17.0.2.md
- codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/15.0.12.md
- codeberg.org/forgejo/forgejo/commit/0c4609133e9ec7da5cb061668f533ba42894c824
- codeberg.org/forgejo/forgejo/commit/04834f11abbdc164075aaf2bafaab375c555e832
Related
- Forgejo vulnerabilities Recent advisories, watch this product