{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-120263","published":"2026-11-01T10:18:37.520000Z","last_modified":"2026-11-06T16:17:52.467000Z","status":"Deferred","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-287","CWE-639"],"cpes":[],"cpes_truncated":false,"vendors":["gitea"],"products":["gitea/gitea"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2026-120263/","html_en":"/en/cve/CVE-2026-120263/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-120263","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-120263"},"untrusted":{"vendor_name":"Gitea","product_name":"Gitea","desc_en":"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.","affected":[{"untrusted_vendor":"Gitea","untrusted_product":"Gitea","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"2e07031c8e1663b832102203a3f76850","generated":"2026-11-26T22:25:45.230991Z","es":{"untrusted_title":"Escalada de privilegios por vinculación automática de cuenta OAuth2 en Gitea","untrusted_summary":"Cuando la vinculación automática de cuentas OAuth2 está habilitada en Gitea, un atacante puede enviar el nombre de usuario o correo de otra persona en el formulario de registro para vincular su identidad externa a esa cuenta y acceder sin contraseña, incluso como administrador. La vulnerabilidad afecta a Gitea cuando `[oauth2_client].ACCOUNT_LINKING` está configurado en `auto` y el registro está habilitado. La vinculación persiste en futuros inicios de sesión."},"en":{"untrusted_title":"Privilege Escalation via Automatic OAuth2 Account Linking in Gitea","untrusted_summary":"When automatic OAuth2 account linking is enabled in Gitea, an attacker can submit another user's name or email in the registration form to link their external identity to that account and gain access without a password, including as an administrator. The vulnerability affects Gitea when `[oauth2_client].ACCOUNT_LINKING` is set to `auto` and registration is enabled. The link persists for subsequent sign-ins."},"remediation":{"status":"fix","fixed_versions":["28.3.0"],"untrusted_action_es":"Actualiza Gitea a la versión 28.3.0 o superior. Si no puedes actualizar, desactiva la vinculación automática de cuentas OAuth2 o deshabilita el registro.","untrusted_action_en":"Update Gitea to version 28.3.0 or later. If you cannot update, disable automatic OAuth2 account linking or disable registration.","vendor_url":"https://github.com/go-gitea/gitea/releases/tag/v28.3.0"},"reviewed":false},"references":[{"url":"https://blog.gitea.com/release-of-28.3.0/","tags":[]},{"url":"https://github.com/go-gitea/gitea/pull/40121","tags":[]},{"url":"https://github.com/go-gitea/gitea/pull/40137","tags":[]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.3.0","tags":[]},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-8p3x-w464-4g6v","tags":[]}]},"social":{"people":1,"posts":1,"window_days":30}}