Gitea OAuth2 provider tokens issued to disabled users
- State
- Published
- Severity
- 5.4 Medium
- Published
- Nov 15, 2026
- Updated
- Nov 16, 2026
- Reserved
- Nov 15, 2026
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.
| Product | Versions |
|---|---|
| Gitea Gitea | before 28.4.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 5.4 Medium | CISA-ADP |
Weaknesses
- CWE-613 Insufficient Session Expiration
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.