CVE-2026-104627 Gitea OpenID account linking without session binding
MediumCVSS 5.4
EPSS 0.18%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Gitea | <= 28.1.0 | after 28.1.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Gitea | <= 28.1.0 | No fix listed |
References
- GitHub Security Advisory GHSA-mf69-7pqq-86vx vendor-advisory
- Fix: go-gitea/gitea pull request #39642 patch
- Fix backport to release/v28: go-gitea/gitea pull request #39744 patch
- Gitea 28.2.0 release announcement release-notes
- go-gitea/gitea v28.2.0 release release-notes
- ENISA EUVD EUVD-2026-103982 third-party-advisory