Skip to content
RedCVE

CVE-2026-104627Gitea improper authentication

GiteaPublished:

CVSS score

5.4

Medium

CVSS 3.1 from 134c704f-9b21-4f2e-91b3-4a467353bcc0

Exploit probability (EPSS)

0.12%

0.12% chance of exploitation in the next 30 days, higher than 1.77% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

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

Source: NVD · CNA: 88ee5874-cf24-4952-aea0-31affedb7ff2

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Gitea and compare its version with the affected versions.

  2. Watch for an official fix

    No fix or advisory is listed in the official record yet. Follow the vendor's security announcements; this page updates when one is published.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Affected products

Affected productsVersions
Gitea Gitea≤ 28.1.0

Weakness

  • CWE-287 improper authentication
  • CWE-352 cross-site request forgery (CSRF)

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-104627 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.1% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-104627?

CVE-2026-104627 has a CVSS 3.1 base score of 5.4 (medium).

Which versions are affected?

Gitea Gitea (≤ 28.1.0)

Is there a patch for CVE-2026-104627?

No patch is linked in the official record yet. Watch the vendor's security advisories.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.