# CVE-2026-104627: Gitea OpenID account linking without session binding

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-10-18T18:51:06.543Z
- Modified: 2026-10-19T21:17:03.083Z
- Weaknesses: CWE-287, CWE-352
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Gitea

## 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.

(As written by CVE List.)

## Affected

- gitea.dev: up to 28.1.0

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-mf69-7pqq-86vx> (vendor-advisory)
- <https://github.com/go-gitea/gitea/pull/39642> (patch)
- <https://github.com/go-gitea/gitea/pull/39744> (patch)
- <https://blog.gitea.com/release-of-28.2.0/> (release-notes)
- <https://github.com/go-gitea/gitea/releases/tag/v28.2.0> (release-notes)

## Sources

- CVE List: [CVE-2026-104627](https://www.cve.org/CVERecord?id=CVE-2026-104627), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-104627](https://nvd.nist.gov/vuln/detail/CVE-2026-104627), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-104627 · Whole record: https://cve.day/CVE-2026-104627.json · Rebuilt by cve.day 2026-11-25T22:59:45.332Z
