PT-2026-63281 · Gitea+1 · Gitea+1
CVSS v3.1
8.1
High
| Vector | AV: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
Affected Products
Gitea
Red Os