CVE-2026-104627

MEDIUM CVSS 3.1: 5.4 EPSS 0.12%
Updated Oct 20, 2026
The Gitea
Parameter Value
CVSS 5.4 (MEDIUM)
Type CWE-352 (Cross-Site Request Forgery (CSRF)), CWE-287 (Improper Authentication)
Vendor The Gitea
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1