Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-120263 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

Description

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://blog.gitea.com/release-of-28.3.0/ Gitea LimitedRelease NotesVendor
https://github.com/go-gitea/gitea/pull/40121 Gitea LimitedIssue TrackingVendor
https://github.com/go-gitea/gitea/pull/40137 Gitea LimitedIssue TrackingVendor
https://github.com/go-gitea/gitea/releases/tag/v28.3.0 Gitea LimitedRelease NotesVendor
https://github.com/go-gitea/gitea/security/advisories/GHSA-8p3x-w464-4g6v Gitea LimitedAdvisoryRemedyVendor

Weakness Enumeration

CWE-IDCWE NameSource
CWE-287Improper AuthenticationGitea Limited
CWE-639Authorization Bypass Through User-Controlled KeyGitea Limited

Affected Products

ProductVersions
Gitea
<= 28.2.0 (semver)
v1.25.5 (semver)

CPE

  • cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*

Remediation

  • Upgrade: 28.3.0moderate effort
  • Workaround:low effort

    Set the OAuth2 `ACCOUNT_LINKING` setting to `login` (the default).

Change History

2 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-120263
NVD Published Date:
Nov 1, 2026
NVD Last Modified:
Nov 6, 2026
Source:
Gitea Limited