Description
OAuth2 sign-in reactivates an administrator-deactivated account on auth sources without refresh tokens (incomplete fix of #38009)
Published: 2026-08-13
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability allows an OAuth2 sign‑in flow to inadvertently re‑activate user accounts that have been consciously disabled by an administrator. Because the flaw occurs in auth sources that lack refresh tokens, a malicious OAuth2 attacker can trigger a reactivation, thereby granting the account active access to the Git server. This could lead to unauthorized access to repositories, project resources, and potentially sensitive code. The weakness involves compromised access control (CWE‑863) and improper authorization logic (CWE‑807).

Affected Systems

Gitea Open Source Git Server is the targeted product. The issue affects installations that use OAuth2 authentication without refresh tokens. No specific version range is identified in the CNA data, but the advisory references the 1.27.0 release, which contains an incomplete fix for issue #38009.

Risk and Exploitability

The CVE has a CVSS score of 8.1, indicating a high severity level. The EPSS score of <1% suggests a low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is most likely through the normal OAuth2 sign‑in process; any entity that can provide valid OAuth2 credentials could exercise the reactivation logic. Because deactivated accounts normally deny all activity, the ability to reactivate them represents a full privilege escalation for the attacker.

Generated by OpenCVE AI on August 18, 2026 at 15:00 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Gitea to version 1.27.0 or newer to receive the fix for the OAuth2 reactivation issue.
  • Verify that OAuth2 authentication settings do not permit account reactivation for administrators who have deactivated accounts, and consider disabling automatic reactivation if the vendor configuration allows.
  • Monitor account status changes for deactivated user accounts and audit OAuth2 sign‑in logs to detect any unexpected reactivations.

Generated by OpenCVE AI on August 18, 2026 at 15:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-vrhc-jjfc-m3m3 Gitea: OAuth2 sign-in reactivates an administrator-deactivated account on auth sources without refresh tokens (incomplete fix of #38009)
History

Tue, 18 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-807
References
Metrics threat_severity

None

threat_severity

Low


Fri, 14 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 14 Aug 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server

Thu, 13 Aug 2026 17:00:00 +0000

Type Values Removed Values Added
Description OAuth2 sign-in reactivates an administrator-deactivated account on auth sources without refresh tokens (incomplete fix of #38009)
Title OAuth2 sign-in reactivates an administrator-deactivated account on auth sources without refresh tokens (incomplete fix of #38009)
Weaknesses CWE-863
References

Subscriptions

Gitea Gitea Open Source Git Server
cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-08-14T20:06:36.724Z

Reserved: 2026-07-08T09:19:08.000Z

Link: CVE-2026-55987

cve-icon Vulnrichment

Updated: 2026-08-14T20:06:28.520Z

cve-icon NVD

Status : Deferred

Published: 2026-08-13T17:17:25.063

Modified: 2026-08-26T16:53:48.300

Link: CVE-2026-55987

cve-icon Redhat

Severity : Low

Publid Date: 2026-08-13T16:44:42Z

Links: CVE-2026-55987 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T15:15:03Z

Weaknesses
  • CWE-807

    Reliance on Untrusted Inputs in a Security Decision

  • CWE-863

    Incorrect Authorization