CVE-2026-120263: Gitea · Improper Authentication
Affects GiteaSource CVE Database V5
Not known to be exploited : upgrade to 28.3.0 soon.
Data as of 1 Nov 2026, 10:07 UTC
Rated High by Threat Radar's AI analysis · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in 28.3.0
Exploitation evidence
Disclosed: evidence found.
CVE published 1 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Oct 2026.
What to do
Upgrade Gitea and go-gitea/gitea to 28.3.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Giteagitea.dev | Affected
| Fixed in
|
GitHubgo-gitea/giteapkg:github/go-gitea/giteaOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Gitea to version 28.3.0 or later, where this vulnerability is fixed. The fix ensures automatic account linking only occurs when the existing account matches the OAuth2 provider's asserted email or user name; otherwise, the account password is required. No other mitigation is necessary once the upgrade is applied.
Description
CVE-2026-120263 is an improper authentication vulnerability in Gitea versions before 28.3.0. When the OAuth2 client setting ACCOUNT_LINKING is set to auto and registration is enabled, the system incorrectly linked external OAuth2 identities to existing Gitea accounts based on submitted user names or emails rather than the identity asserted by the OAuth2 provider. This flaw allowed an attacker with an account on the OAuth2 provider to link their external identity to another user's Gitea account and sign in as that user without a password, including administrator accounts. The vulnerability was fixed in version 28.3.0 by restricting automatic linking to cases where the existing account matches the provider's email or provider-derived user name, otherwise requiring the account password.
References
- github.com/go-gitea/gitea/security/advisories/GHSA-8p3x-w464-4g6v (opens in a new tab)
- github.com/go-gitea/gitea/pull/40121 (opens in a new tab)
- github.com/go-gitea/gitea/pull/40137 (opens in a new tab)
- blog.gitea.com/release-of-28.3.0/ (opens in a new tab)
- github.com/go-gitea/gitea/releases/tag/v28.3.0 (opens in a new tab)