Medium severity · published Oct 18, 2026
CVE-2026-104627
Gitea OpenID account linking without session binding
5.4
CVSS
0.1%
EPSS
No
On KEV
Description
The Gitea OpenID association callback in the security settings accepted a positive OpenID 2.0 assertion without checking that the signed-in user had started the linking. Because OpenID 2.0 allows unsolicited assertions, an attacker-controlled OpenID provider could attach the attacker's identity to the account of a signed-in victim who opened a crafted link, and the attacker could then sign in as the victim through OpenID login, which does not apply the local TOTP or WebAuthn checks. The callback now requires a time-limited `state` value bound to the user.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.1% · higher than 2% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GI
Gitea · Gitea
through 28.1.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-104627
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-104627
blog.gitea.com
https://blog.gitea.com/release-of-28.2.0/
github.com
https://github.com/go-gitea/gitea/pull/39642
github.com
https://github.com/go-gitea/gitea/pull/39744
github.com
https://github.com/go-gitea/gitea/releases/tag/v28.2.0
github.com
https://github.com/go-gitea/gitea/security/advisories/GHSA-mf69-7pqq-86vx
More from Gitea
9.8
CVE-2026-60004
Gitea Code Injection Vulnerability
9.8
CVE-2026-59774
Gitea Org-mode file disclosure and code execution
9.8
CVE-2026-73278
Gitea WebAuthn bypass during OAuth and OIDC sign-in
9.8
CVE-2026-94205
Gitea fork workflow approval bypass through maintainer-triggered events
9.8
CVE-2022-42968
Gitea before 1.17.3 does not sanitize and escape refs in the git backend
