What’s Vulnerable › Vulnerabilities
CVE-2026-101023: Gitea OAuth2 refresh token grant accepts access tokens
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-06 · updated 2026-10-13
- Weakness: CWE-287
Description
Gitea's OAuth2 token endpoint verified the signature and grant of a token submitted with the `refresh_token` grant type, but not that the token was a refresh token. An unexpired access token for the same OAuth2 application and grant could be exchanged for a new access token and refresh token. Whoever holds such an access token could keep access beyond the token's original lifetime.
Affected products
- Gitea Open Source Git Server: before 28.1.0 — fixed in 28.1.0
How to fix
Upgrade to a fixed version: Gitea Open Source Git Server 28.1.0. Check the vendor advisory for mitigations.
References
- https://blog.gitea.com/release-of-28.1.0/
- https://github.com/go-gitea/gitea/pull/39501
- https://github.com/go-gitea/gitea/pull/39507
- https://github.com/go-gitea/gitea/releases/tag/v28.1.0
- https://github.com/go-gitea/gitea/security/advisories/GHSA-469m-x4mw-38r3
Get alerted when CVE-2026-101023 or the next vulnerability affects your stack