{"id":"CVE-2026-120263","published":"2026-11-01T10:18:37Z","modified":"2026-11-06T16:17:52Z","title":"Gitea OAuth2 account auto-linking takeover through the sign-up form","vendor":"Gitea","product":"Gitea","tier":"core","eol":null,"affectedVersions":[{"vendor":"Gitea","product":"Gitea","versions":["< 28.3.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-11-06T15:42:41.395164Z","from":"CISA ADP","provenance":"source"},"nvdStatus":"Deferred","description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"Gitea's OAuth2 account-linking sign-up form, active only when [oauth2_client].ACCOUNT_LINKING is set to auto (not the default) with registration enabled, looked up the existing account to link using the user name or email typed into the form rather than the identity asserted by the OAuth2 provider. An attacker holding an account on a configured OAuth2 provider can submit another user's name to link their external identity to that account and sign in as it without the password, including as an administrator, with the link persisting for later sign-ins.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T03:47:37Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.0043,"percentile":0.37978,"date":"2026-11-21","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":9,"pulses":[{"name":"Known_Cve | Nov 10, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6af1de48edf0afc015fdbf9e","created":"2026-11-09"},{"name":"Known_Cve | Nov 9, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6af08d78fae68d2bf8ab0a89","created":"2026-11-08"},{"name":"Known_Cve | Nov 8, 2026 | Part 1/3","url":"https://otx.alienvault.com/pulse/6aef3b029d93097c770c01f5","created":"2026-11-07"},{"name":"Known_Cve | Nov 7, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6aede8f784dbfff6c3936472","created":"2026-11-06"},{"name":"Known_Cve | Nov 6, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/6aec9814761aea31240fbf8c","created":"2026-11-05"},{"name":"Known_Cve | Nov 5, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/6aeb4640975e6631ab96b181","created":"2026-11-04"},{"name":"Known_Cve | Nov 4, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/6ae9f4a534e5bab82408f0f2","created":"2026-11-03"},{"name":"Known_Cve | Nov 3, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/6ae8a2fbb750e3c9efe15713","created":"2026-11-02"},{"name":"Known_Cve | Nov 2, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/6ae751f170a9e6cbc092a3eb","created":"2026-11-01"}],"provenance":"machine"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"},{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://blog.gitea.com/release-of-28.3.0/","tags":["release-notes"]},{"url":"https://github.com/go-gitea/gitea/pull/40121","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/pull/40137","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.3.0","tags":["release-notes"]},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-8p3x-w464-4g6v","tags":["vendor-advisory"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2026-114790","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-114790","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-11-01","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120263","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":16.7,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":7.6,"detail":"percentile 0.3798"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":2.27,"detail":"9 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}