All vulnerabilities
CVE-2026-104627GHSA-mf69-7pqq-86vx

Gitea OpenID account linking without session binding

Gitea Gitea
CVSS
5.4Medium
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.12%Chance of exploitation activity in the next 30 days, higher than 1% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in28.2.0Fixed versionGitHub
Published18 Oct 2026Updated 19 Oct 2026CVE List

What fixes it

  • 28.2.0gitea.dev, goGitHubgo get gitea.dev@v28.2.0

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

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.

Text from CVE List

Affected versions 2

  • Giteaaffected: all versions through 28.1.0CVE List
  • gitea.dev, go<= 28.1.0GitHub

References 5