# CVE-2026-128359: Gitea OAuth2 provider tokens issued to disabled users

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-15 · Modified: 2026-11-16
- Record: https://cvemate.com/vulnerability/CVE-2026-128359 · JSON: https://cvemate.com/vulnerability/CVE-2026-128359/json

## Description

```text
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.
```

## Signals

- CVSS: 5.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.222%, percentile 13.582%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- gitea gitea: \< 28.4.0

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-jrjr-q3rq-f899>
- <https://github.com/go-gitea/gitea/pull/40131>
- <https://github.com/go-gitea/gitea/pull/40281>
- <https://blog.gitea.com/release-of-28.4.0/>
- <https://github.com/go-gitea/gitea/releases/tag/v28.4.0>

---

Data as of 2026-12-05T14:32:50.771Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
