CVEvulnerability

CVE-2026-104627

5.4 MEDIUM Published 2026-10-18 Modified 2026-10-19 Official page ↗
Status
Awaiting Analysis
Published
2026-10-18
Last modified
2026-10-19
Assigner
88ee5874-cf24-4952-aea0-31affedb7ff2
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
5.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Weaknesses
CWE-287, CWE-352

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.

Related

Weakness · CWE (2)

  • CWE-287 Improper Authentication weakness
  • CWE-352 Cross-Site Request Forgery weakness

References