CVE-2026-138408
No exploitation reported by the sources we read.
- Published2026-11-29
- WeaknessCWE-602
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-11-2917:55CVE publishedCNA
Versions per branch
Products declared by the CNA
As mitre, the CNA that assigned this CVE, declared them in the CVE record; versions as written. NVD lists no product for this CVE yet: this is the only product data so far.
- Forgejoother versions: not affected
https://codeberg.org/forgejo/forgejo
Affected- ≥ 9.0.0, < 15.0.12fixed in 15.0.12semver
- ≥ 16.0.0, < 17.0.2fixed in 17.0.2semver
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-29
Neither OSV.dev nor the vendor advisories we read list affected versions for CVE-2026-138408 yet.
Fix
No fix published by the sources we read yet. NVD record
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Metasploit modules
- none listed Metasploit Framework
Sources
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
- Published
- 2026-11-29
Frequently asked questions
What is CVE-2026-138408?
Is CVE-2026-138408 actively exploited?
What is the CVSS score for CVE-2026-138408?
Hear about the next vulnerability in your software
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2026-133469KEVsame weekXen Orchestra: Empty-object login token
- CVE-2026-132165KEVsame weekDrupal core - Highly critical - Remote code execution - SA-CORE-2026-017
- CVE-2026-136716KEVsame weekDrupal core - Highly critical - Access bypass - SA-CORE-2026-019
- CVE-2026-123903same weekvCenter authentication-bypass vulnerability
- CVE-2026-129975same weekGpgme: gpgme: double free in read_status() via crafted signature
- CVE-2026-136552same weekTenda RX3 multiWAN setIPv6Status formSetIPv6status command injection
- CVE-2026-135789same weekD-Link R95 DHMAPI SOAP ssi SetBluetoothPairDevice os command injection
- CVE-2026-103788same week