CVE-2026-55987

OAuth2 sign-in reactivates an administrator-deactivated account on auth sources without refresh tokens (incomplete fix of #38009)

Published Aug 13, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
Description
OAuth2 sign-in reactivates an administrator-deactivated account on auth sources without refresh tokens (incomplete fix of #38009)

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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
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'}

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server
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
Weaknesses
  • CWE-807

    Reliance on Untrusted Inputs in a Security Decision

  • CWE-863

    Incorrect Authorization

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Aug 14, 2026, 8:06 PM
Reserved
Jul 8, 2026, 9:19 AM
Status
Deferred
Published
Aug 13, 2026, 5:17 PM
Modified
Aug 26, 2026, 4:53 PM
Severity
Low
Public date
Aug 13, 2026, 4:44 PM