PatchSiren cyber security CVE debrief
CVE-2026-104627 Gitea CVE debrief
The Gitea OpenID account linking vulnerability allows attackers to attach their identity to a victim's account by exploiting the OpenID 2.0 association callback. This issue has been fixed in Gitea version 28.2.0. The vulnerability arises from the OpenID 2.0 association callback accepting a positive assertion without verifying that the signed-in user initiated the linking process. Consequently, an attacker-controlled OpenID provider can associate their identity with a victim's account who has opened a crafted link. The attacker can then sign in as the victim via OpenID login, bypassing local TOTP or WebAuthn checks. Defenders should assess exposure, especially in Gitea instances, to
- Vendor
- Gitea
- Product
- Unknown
- CVSS
- Unknown
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-18
- Original CVE updated
- 2026-10-19
- Advisory published
- 2026-10-18
- Advisory updated
- 2026-10-19
Who should care
Defenders responsible for Gitea instances, especially those with OpenID login enabled, should assess exposure and apply patches or mitigations as needed to prevent attackers from attaching their identity to a victim's account and signing in as the victim. This includes verifying the exposure of Gitea instances, reviewing compensating controls, and monitoring for potential exploitation attempts.
Why it matters
Defenders should prioritize verifying exposure of Gitea instances, especially those with OpenID login enabled, and apply patches or mitigations as needed to prevent attackers from attaching their identity to a victim's account and signing in as the victim.
- attackers could attach their identity to a victim's account
- attackers could sign in as the victim through OpenID login
Technical summary
The Gitea OpenID association callback accepted a positive OpenID 2.0 assertion without checking that the signed-in user had started the linking. This allows an attacker-controlled OpenID provider to attach the attacker's identity to the account of a signed-in victim who has opened a crafted link. The attacker can then sign in as the victim through OpenID login, which does not apply the local TOTP or WebAuthn checks. The fix requires a time-limited 'state' value bound to the user, enhancing session binding security.
Defensive priority
Defenders should prioritize verifying exposure of Gitea instances, especially those with OpenID login enabled, and apply patches or mitigations as needed.
Recommended defensive actions
- Verify Gitea instance exposure, especially with OpenID login enabled
- Apply patches or mitigations as needed
- Monitor for potential exploitation attempts
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record and source item provide details on the vulnerability, its impact, and the fix. However, additional information on affected versions and potential exploitation is limited. The CVE Program record (cve-org) and NIST NVD detail page (nvd) offer official perspectives on the vulnerability. Vendor advisory information is available through source references (ref-4, ref-5).
Sources and references
Verified primary and authoritative sources
-
CVE-2026-104627 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-104627
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-104627 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-104627
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Gitea OpenID account linking without session binding
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/104xxx/CVE-2026-104627.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/security/advisories/GHSA-mf69-7pqq-86vx
Supplemental source - vendor-advisory
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/pull/39642
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/pull/39744
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://blog.gitea.com/release-of-28.2.0/
Supplemental source - release-notes
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/releases/tag/v28.2.0
Supplemental source - release-notes
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.