What’s Vulnerable › Vulnerabilities
CVE-2026-104627: Gitea OpenID account linking without session binding
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-18 · updated 2026-10-19
- Weakness: CWE-287
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.
Affected products
- Gitea Open Source Git Server: through 28.1.0
References
- https://blog.gitea.com/release-of-28.2.0/
- https://github.com/go-gitea/gitea/pull/39642
- https://github.com/go-gitea/gitea/pull/39744
- https://github.com/go-gitea/gitea/releases/tag/v28.2.0
- https://github.com/go-gitea/gitea/security/advisories/GHSA-mf69-7pqq-86vx
Get alerted when CVE-2026-104627 or the next vulnerability affects your stack