CVE-2026-128359

Gitea OAuth2 provider tokens issued to disabled users

Medium published · updated

5.4
CVSS score out of 10 · NVD (134c704f-9b21-4f2e-91b3-4a467353bcc0)

Description

When Gitea acts as an OAuth2 or OpenID Connect provider, the token endpoint did not check the state of the user. After an administrator deactivated an account or prohibited its sign-in, existing refresh tokens and unused authorization codes of that user could still be exchanged for new tokens, so applications that sign users in through Gitea kept them signed in. The token endpoint now refuses users who may not sign in, and token introspection reports their tokens as inactive.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
gitea gitea 0 → <28.4.028.4.0 CVE.org

References