Description
Gitea's OpenID connect handler accepts a user's password without enforcing enrolled TOTP or WebAuthn verification before completing sign-in and linking an OpenID identifier. When OpenID sign-in is enabled, an attacker who knows the victim's password can obtain a session and link an attacker-controlled identifier. The attacker can then sign in through that identifier without the victim's password or second factor, and a password change does not remove the link.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Gitea | Gitea | ≤ 1.27.1 | — |
Advisories 1
- WID-SEC-2026-2863 Gitea: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 14, 2026
References
- GitHub Security Advisory GHSA-8xjr-x7rg-hp5h vendor-advisory
- Gitea 1.27.2 release announcement release-notes
- Fix: go-gitea/gitea pull request #38805 patch
- Fix: go-gitea/gitea pull request #38810 patch
- go-gitea/gitea v1.27.2 release release-notes