PT-2026-63281 · Gitea+1 · Gitea+1

·

CVE-2026-55987

·

Published

2026-07-21

·

Updated

2026-08-26

CVSS v3.1

8.1

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions Gitea (affected versions not specified)
Description An issue exists in the OAuth2 sign-in callback that allows a deactivated user account to be reactivated when signing in through an authentication source that does not issue refresh tokens, such as GitHub or OIDC/OAuth2 sources configured without offline access. The system incorrectly uses an empty refresh token as a signal that an account was disabled by the auto-sync cron rather than by an administrator. Consequently, when a deactivated user signs in via these providers, the system sets IsActive to true and grants a full session, bypassing the administrator's deactivation. This affects the handleOAuth2SignIn function within routers/web/auth/oauth.go. If the deactivated account had administrative privileges, those privileges are also restored. This does not affect accounts disabled via the Prohibit Login feature.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

DoS

Incorrect Authorization

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-55987
GHSA-VRHC-JJFC-M3M3
GO-2026-6078
OPENSUSE-SU-2026:21551-1
SUSE-SU-2026:23216-1
SUSE-SU-2026:23227-1

Affected Products

Gitea
Red Os