All vulnerabilities

Servers and applications

CVE-2026-101023

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.

Severity
Critical 9.1
Published
6 Oct 2026
Last changed
13 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
28.1.0
Sources
NVD

Affected software

SoftwareAffected versions
GiteaServers and applications · cpe:a:gitea:gitea
  • Every version before 28.1.0

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-101023
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-101023