Weakness in Gitea's OpenID Connect Handler Allows Account Linking Without Verification
CVE-2026-73535
8.8HIGH
What is CVE-2026-73535?
The OpenID connect handler in Gitea is susceptible to a significant vulnerability that allows an attacker to bypass two-factor authentication. When users enable OpenID sign-in, their credentials are inadequately protected, as the handler can erroneously accept a user's password without requiring additional verification through Time-based One-Time Password (TOTP) or WebAuthn. This flaw means that if an attacker obtains a victim's password, they can create a session linked to a controlled identifier. As a result, the attacker can gain access without needing the victim's password or the second factor, leaving the account vulnerable even if the victim changes their password.
Affected Version(s)
Gitea 0 <= 1.27.1
References
CVSS V3.1
Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved
Credit
https://github.com/r0hanSH
https://github.com/cyberlanc3r
