Gitea · Gitea · published 2026-11-01

CVE-2026-120263Gitea OAuth2 account auto-linking takeover through the sign-up form

Routine No exploitation evidence; EPSS 0.3%.

CVE-2026-120263 is not known to be exploited in the wild. EPSS estimates a 0.3% chance of exploitation in the next 30 days, higher than 28% of all CVEs. This Gitea vulnerability: CVSS 9.8 (v3.1), attacks can be automated, a successful attack gives total control of the component. Fixed upstream in Gitea 28.3.0. Routine: patch when convenient.

Share this

Remediation#

Fixed upstream in Gitea 28.3.0.

Patch events

  1. This monthSecurity release

    DevOpsGitea

    Gitea security release: 28.3.0

    Upgrade to 28.3.0

    Why: Vendor security release for server software (most severe: CVE-2026-120263).

Exploit intelligence#

SignalValueSource
Known exploitedNoCISA KEV
Ransomware use—CISA KEV
EPSS (30-day exploitation probability)0.3% (29th pct)FIRST EPSS v2026.06.15
CVSS base score9.8 (v3.1)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA / CISA ADP
SSVC exploitationnoneCISA Vulnrichment
SSVC automatableYesCISA Vulnrichment
SSVC technical impacttotalCISA Vulnrichment

Affected versions (from the CVE record)#

Description (from the CVE record)#

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.

Quoted from the CVE Program record.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →