CVE-2026-138408
CVE-2026-138408 Vulnerability Analysis & Exploit Intelligence
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…
Published Updated Sources: cvelistV5, mitre
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
7.7
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.7 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-602
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1134Access Token Manipulation
- T1528Steal Application Access Token
- T1539Steal Web Session Cookie
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /user/settings/account/email, /web/user/setting/account.go), /user/email.go.
References
7 on the record
- codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/17.0.2.md
release-notes
- codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/15.0.12.md
release-notes
- codeberg.org/forgejo/forgejo/pulls/15298
patch
- codeberg.org/forgejo/forgejo/pulls/15299
patch
- codeberg.org/forgejo/forgejo/commit/0c4609133e9ec7da5cb061668f533ba42894c824
patch
- codeberg.org/forgejo/forgejo/commit/04834f11abbdc164075aaf2bafaab375c555e832
patch
- codeberg.org/forgejo/forgejo/commit/b3460f95c5aade136198ed5ca63a625d2134549c
patch
Related CVEs
Same product first, then the same weakness or threat actor.
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.