CVE-2026-104627
published medium CVSS 3.1 · 5.4Gitea OpenID account linking without session binding
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 0 through 28.1.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 0 through 28.1.0 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
2- CWE-287 CWE-287: Improper Authentication
- CWE-352 CWE-352: Cross-Site Request Forgery (CSRF)
References
5- Gitea 28.2.0 release announcement https://blog.gitea.com/release-of-28.2.0/
- Fix: go-gitea/gitea pull request #39642 https://github.com/go-gitea/gitea/pull/39642
- Fix backport to release/v28: go-gitea/gitea pull request #39744 https://github.com/go-gitea/gitea/pull/39744
- go-gitea/gitea v28.2.0 release https://github.com/go-gitea/gitea/releases/tag/v28.2.0
- GitHub Security Advisory GHSA-mf69-7pqq-86vx https://github.com/go-gitea/gitea/security/advisories/GHSA-mf69-7pqq-86vx
Provider assertions
2Gitea · cna
Gitea OpenID account linking without session binding
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 962a3f3375dd799dc728590692fdca51ead714c02e3301d332a62f12e3531873
- Ingested
- 19 Oct 2026, 20:33:47 UTC
- Source record
- Official CVE record