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.
Weaknesses
- CWE-613 — CWE-613: Insufficient Session Expiration
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | 0 to <28.4.0 [affected] |
References
- https://github.com/go-gitea/gitea/security/advisories/GHSA-jrjr-q3rq-f899 (vendor-advisory)
- https://github.com/go-gitea/gitea/pull/40131 (patch)
- https://github.com/go-gitea/gitea/pull/40281 (patch)
- https://blog.gitea.com/release-of-28.4.0/ (release-notes)
- https://github.com/go-gitea/gitea/releases/tag/v28.4.0 (release-notes)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 16 Nov 2026 08:07 UTC.