Live › vulnerability › CVE-2026-120263
When Gitea's OAuth2 account linking is set to auto and registration is enabled, the sign-up form matched the account to link by a user name or email typed in the form rather than the identity from the OAuth2 provider. An attacker with an account on a configured OAuth2 provider could link their identity to another user's Gitea account, including an administrator, and sign in as that user without the password.
Summary written from the sources below. Check the originals before acting.
First seen by InfraStack 2026-11-01 10:49 UTC. All times on this page are UTC.
Only Gitea instances that use OAuth2 sign-in with ACCOUNT_LINKING set to auto (not the default) and have registration enabled are exposed. The attacker needs an account on one of the configured OAuth2 providers. Instances with the default linking setting or registration disabled are not affected by this description.
No product ranges from the sources yet.
[oauth2_client] section of the Gitea configuration for ACCOUNT_LINKING set to auto[service] registration (DISABLE_REGISTRATION) is enabledgitea --versionEach row is the first time that source carried this signal. The analyst’s rows are its own findings.
When [oauth2_client].ACCOUNT_LINKING is set to auto (not the default) and registration is enabled, the link-account sign-up form looked up the existing account to link by the user name or email submitted in the form instead of the identity asserted by the OAuth2 provider. An attacker with an account on a configured OAuth2 provider could submit another user's name, link their external identity to that Gitea account and be signed in as it without its password, including as an administrator. The link persisted for later sign-ins. Automatic linking now only happens when the existing account matches the provider's email or provider-derived user name; otherwise the account password is required.
This page as .md · .json · in your agent: get_signal("CVE-2026-120263")
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.