CVE-2026-104627GHSA-mf69-7pqq-86vx
Gitea OpenID account linking without session binding
Gitea Gitea
CVSS
5.4MediumExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.12%Chance of exploitation activity in the next 30 days, higher than 1% of CVEs. Scored 23 Oct 2026FIRST EPSS
What fixes it
- 28.2.0gitea.dev, goGitHub
go get gitea.dev@v28.2.0
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
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.
Text from CVE List
Affected versions 2
- Giteaaffected: all versions through 28.1.0CVE List
- gitea.dev, go<= 28.1.0GitHub
References 5
- github.com/go-gitea/gitea/pull/39642Fixvia CVE List
- github.com/go-gitea/gitea/pull/39744Fixvia CVE List
- github.com/go-gitea/gitea/releases/tag/v28.2.0Fixvia CVE List
- github.com/go-gitea/gitea/security/advisories/GHSA-mf69-7pqq-86vxAdvisoryvia CVE List
- blog.gitea.com/release-of-28.2.0/Referencevia CVE List