PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-120263 Gitea CVE debrief

CVE-2026-120263 is a vulnerability in Gitea that allows an attacker to link their external identity to an existing Gitea account and sign in as that user without their password, including as an administrator. The vulnerability occurs when `[oauth2_client].ACCOUNT_LINKING` is set to `auto` and registration is enabled. The link persists for later sign-ins.

Vendor
Gitea
Product
Unknown
CVSS
Unknown
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-01
Original CVE updated
2026-11-01
Advisory published
2026-11-01
Advisory updated
2026-11-01

Who should care

Defenders who manage Gitea instances should assess exposure and verify the configuration of OAuth2 clients. They should also review user accounts and their linked external identities to prevent unauthorized access.

Why it matters

CVE-2026-120263 is a vulnerability in Gitea that allows an attacker to link their external identity to an existing Gitea account and sign in as that user without their password, including as an administrator. Defenders should prioritize verifying the configuration of OAuth2 clients and reviewing user accounts to prevent unauthorized access.

  • An attacker could sign in as an administrator without a password.
  • An attacker could link their external identity to an existing Gitea account and sign in without a password.
  • Defenders need to verify the configuration of OAuth2 clients and review user accounts to prevent unauthorized access.

Technical summary

The vulnerability occurs when `[oauth2_client].ACCOUNT_LINKING` is set to `auto` and registration is enabled. 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.

Defensive priority

Defenders should prioritize verifying the configuration of OAuth2 clients in Gitea and ensuring that account linking is not set to auto. They should also review user accounts and their linked external identities to prevent unauthorized access.

Recommended defensive actions

  • Verify the configuration of OAuth2 clients in Gitea and ensure that account linking is not set to auto.
  • Review user accounts and their linked external identities to prevent unauthorized access.
  • Update Gitea to version 28.3.0 or later to apply the fix.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.

Evidence notes

The vulnerability was reported by an unknown source and is described in the Gitea security advisory GHSA-8p3x-w464-4g6v. The CVE record was created on 2026-11-01T10:18:37.520Z. Defenders should verify the configuration of OAuth2 clients and review user accounts to prevent unauthorized access. 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. Evidence is limited; defenders should take

Sources and references

Verified primary and authoritative sources

  • CVE-2026-120263 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-120263

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-120263 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-120263

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://blog.gitea.com/release-of-28.3.0/

    88ee5874-cf24-4952-aea0-31affedb7ff2

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/pull/40121

    88ee5874-cf24-4952-aea0-31affedb7ff2

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/pull/40137

    88ee5874-cf24-4952-aea0-31affedb7ff2

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/releases/tag/v28.3.0

    88ee5874-cf24-4952-aea0-31affedb7ff2

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/security/advisories/GHSA-8p3x-w464-4g6v

    88ee5874-cf24-4952-aea0-31affedb7ff2

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.