Skip to main content
← All vulnerabilities
CVE-2026-101023BIT-GITEA-2026-101023GHSA-469M-X4MW-38R3

Gitea OAuth2 refresh token grant accepts access tokens

Published
Last modified
Status
published
Known exploitation
Not listed in CISA KEV
Fix
Fixed in 28.1.0
Public exploit
None on Exploit-DB
CISA SSVC
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total
?

Decision points from CISA's Vulnrichment, assessed (SSVC 2.0.3).

SSVC documentation

Summary

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 versions

  • gitea.dev

    through 28.0.0

  • giteaBitnami

    fixed in 28.1.0

References 5

GitHub · go-gitea/gitea

blog.gitea.com