CVE-2026-120263: Vulnerability in Gitea
Critical. 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...
CWE-287, CWE-639
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-287, CWE-639
- Published
- 1 Nov 2026
- Last change
- 6 Nov 2026
Affected products
Affected versions and the first fixed release
- Gitea Before 28.3.0. Fixed in 28.3.0
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes
- github.com/go-gitea/gitea/pull/40121
- github.com/go-gitea/gitea/pull/40137
- github.com/go-gitea/gitea/releases/tag/v28.3.0
Related
- Gitea vulnerabilities Recent advisories, watch this product