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.
Weaknesses
- CWE-287 — CWE-287: Improper Authentication
- CWE-352 — CWE-352: Cross-Site Request Forgery (CSRF)
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | 0 to <=28.1.0 [affected] |
References
- https://github.com/go-gitea/gitea/security/advisories/GHSA-mf69-7pqq-86vx (vendor-advisory)
- https://github.com/go-gitea/gitea/pull/39642 (patch)
- https://github.com/go-gitea/gitea/pull/39744 (patch)
- https://blog.gitea.com/release-of-28.2.0/ (release-notes)
- https://github.com/go-gitea/gitea/releases/tag/v28.2.0 (release-notes)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 19 Oct 2026 07:04 UTC.