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

Mon, 16 Nov 2026 22:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Sun, 15 Nov 2026 23:30:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea

Sun, 15 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
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.
Title Gitea OAuth2 provider tokens issued to disabled users
Weaknesses CWE-613
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published: 2026-11-15T21:14:14.486Z

Updated: 2026-11-16T21:28:58.305Z

Reserved: 2026-11-15T20:31:51.070Z

Link: CVE-2026-128359

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-15T22:17:19.150

Modified: 2026-11-16T22:18:19.557

Link: CVE-2026-128359

cve-icon Redhat

No data.