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

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-15T21:14:14.486Z
- Modified: 2026-11-16T22:18:19.557Z
- Weaknesses: CWE-613
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- gitea.dev: before 28.4.0

## 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)

## Sources

- CVE List: [CVE-2026-128359](https://www.cve.org/CVERecord?id=CVE-2026-128359), CVE Terms of Use, modified 2026-11-16
- NVD: [CVE-2026-128359](https://nvd.nist.gov/vuln/detail/CVE-2026-128359), Public domain, modified 2026-11-16

---

Page: https://cve.day/CVE-2026-128359 · Whole record: https://cve.day/CVE-2026-128359.json · Rebuilt by cve.day 2026-11-25T22:59:50.839Z
