CVE-2026-128359
published medium CVSS 3.1 · 5.4Gitea OAuth2 provider tokens issued to disabled users
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 0 to < 28.4.0 · Other versions: unaffected | Affected | Not stated | Gitea |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 0 to < 28.4.0 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-613 CWE-613: Insufficient Session Expiration
References
5- Gitea 28.4.0 release announcement https://blog.gitea.com/release-of-28.4.0/
- Fix: go-gitea/gitea pull request #40131 https://github.com/go-gitea/gitea/pull/40131
- Fix backport to release/v28: go-gitea/gitea pull request #40281 https://github.com/go-gitea/gitea/pull/40281
- go-gitea/gitea v28.4.0 release https://github.com/go-gitea/gitea/releases/tag/v28.4.0
- GitHub Security Advisory GHSA-jrjr-q3rq-f899 https://github.com/go-gitea/gitea/security/advisories/GHSA-jrjr-q3rq-f899
Provider assertions
2Gitea · cna
Gitea OAuth2 provider tokens issued to disabled users
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a4aac0102f8ffc57df97acc5b5e0371a0ecfbb178cf29ae5b61d8079cd05ef22
- Ingested
- 16 Nov 2026, 21:33:40 UTC
- Source record
- Official CVE record