CVE-2026-104627

medium

Description

The Gitea OpenID association callback in the security settings accepted a positive OpenID 2.0 assertion without checking that the signed-in user had started the linking. Because OpenID 2.0 allows unsolicited assertions, an attacker-controlled OpenID provider could attach the attacker's identity to the account of a signed-in victim who opened a crafted link, and the attacker could then sign in as the victim through OpenID login, which does not apply the local TOTP or WebAuthn checks. The callback now requires a time-limited `state` value bound to the user.

References

https://github.com/go-gitea/gitea/security/advisories/GHSA-mf69-7pqq-86vx

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

https://github.com/go-gitea/gitea/pull/39744

https://github.com/go-gitea/gitea/pull/39642

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-103982

https://blog.gitea.com/release-of-28.2.0/

Details

Source: Mitre, NVD

Published: 2026-10-18

Updated: 2026-10-18

Risk Information

CVSS v2

Base Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Severity: Medium