Bug 2555278 (CVE-2026-104627) - CVE-2026-104627 code.gitea.io/gitea: Gitea: Account takeover via unverified OpenID association
Summary: CVE-2026-104627 code.gitea.io/gitea: Gitea: Account takeover via unverified O...
Keywords:
Status: NEW
Alias: CVE-2026-104627
Product: Security Response
Classification: Other
Component: vulnerability-draft
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-18 19:01 UTC by OSIDB Bzimport
Modified: 2026-11-03 08:12 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-18 19:01:24 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.