CVE-2026-104627
JSON

5.4medium

Gitea OpenID account linking without session binding

Severity
5.4medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.12% (higher than 1% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Gitea

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.

Affected

Product or packageVersionsReported by
gitea.devup to 28.1.0CVE List

Classification

CWE-287CWE-352

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-104627 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-104627 changed 2026-10-19Public domain