IT SBIT Services
Schneeberger
DEEN
CVE tracker

Gitea: WebAuthn second factor bypass in OAuth2 and OpenID Connect sign-in

CVE-2026-73278Critical 9.8

← All vulnerabilities

Summary

Gitea versions 1.16.0 up to and including 1.27.1 do not enforce the WebAuthn challenge on OAuth2 and OpenID Connect sign-in when WebAuthn is the account's only second factor (no TOTP). An attacker who can authenticate through the affected external identity flow can obtain a full session without the passkey check that applies to password login. On the account-link path, the attacker can also permanently bind their external identity to the victim's Gitea account, so access may persist after a password change.

Affected

  • Gitea 1.16.0 up to and including 1.27.1
  • Only accounts with WebAuthn as sole second factor (no TOTP) and OAuth2/OpenID Connect sign-in enabled
  • Default configuration: unaffected

Fixed in

  • Gitea 1.27.2 (released 14 August 2026)

Workaround

Unknown.

Exploitation

  • No known exploitation at the time of the sources reviewed; CISA SSVC lists exploitation as none and automatable as yes.
  • No public proof of concept found.

Our recommendation

  • Upgrade Gitea to 1.27.2 or later as soon as possible.
  • Until upgraded, disable OAuth2/OpenID Connect sign-in if it is not needed.
  • Review accounts that use only a passkey or security key as second factor and check for unexpected external identity links.
  • Restrict exposure of self-hosted instances that are reachable from the internet.

Public exploits

PoC-in-GitHub, Metasploit and Exploit-DB list nothing for this CVE.

Research sources

Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 30 Oct 2026, 21:01.

Original description (NVD)

Gitea's OAuth2 and OpenID Connect sign-in paths do not require a WebAuthn challenge when WebAuthn is the account's only configured second factor. A party able to authenticate through the affected external identity flow can obtain a full session without the passkey verification enforced during password login. One affected path can also persist an external identity link, extending the compromise beyond the initial session; accounts with TOTP configured are outside the reported WebAuthn-only scenario.

NVD references (5)

Sources

The tracker combines official, freely usable data sources – updated continuously:

This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.

Affected? We can help.

We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.