CVE-2026-73278

Gitea WebAuthn bypass during OAuth and OIDC sign-in

Published Oct 6, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Gitea’s OAuth2 and OpenID Connect sign‑in paths do not present a WebAuthn challenge when WebAuthn is the only second factor configured for an account. This flaw allows an attacker who can authenticate through the external identity provider to obtain a valid Gitea session without presenting the required passkey. The effect is that the attacker can impersonate the user for the duration of the session and potentially access all data and actions the user can perform.

Affected Systems

The vulnerability affects installations of Gitea that use OAuth2 or OIDC as an authentication method and have WebAuthn set as the sole second factor. Versions prior to the release that includes the fix – notably Gitea 1.27.2 and earlier – are impacted. Users with total TOTP as a second factor are not included in the reported scenario.

Risk and Exploitability

Because the flaw can be exploited entirely over the external identity flow, the attack vector is remote and requires only ability to authenticate to the configured identity provider. No local privileges are needed. The CVSS score of 9.8 indicates critical severity, while the EPSS score of < 1% suggests a low exploitation probability at present. The vulnerability is not listed in CISA KEV, so no confirmed public exploit exists. Nonetheless, the ability to bypass the WebAuthn second factor removes the intended authentication guard, giving an attacker full session control during the OAuth/OIDC sign‑in. The impact is a complete bypass of the second‑factor authentication step.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the patch that is included in Gitea 1.27.2 or later by upgrading the Gitea instance to a version that contains the fix.
  • If an upgrade cannot be performed immediately, disable or restrict OAuth2 and OIDC sign‑in for accounts that rely solely on WebAuthn, or enforce WebAuthn challenge validation during the OAuth flow through configuration changes if available.
  • Monitor authentication logs for anomalous logins, especially those originating from unfamiliar IP addresses, and review the configuration of external identity providers to ensure they are not unintentionally exposing the WebAuthn bypass path.

Generated by OpenCVE AI on October 7, 2026 at 22:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea
Type Values Removed Values Added
Description 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.
Title Gitea WebAuthn bypass during OAuth and OIDC sign-in
Weaknesses CWE-287
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Oct 7, 2026, 8:00 PM
Reserved
Aug 13, 2026, 4:50 PM
Status
Analyzed
Published
Oct 6, 2026, 8:17 PM
Modified
Oct 13, 2026, 4:53 PM