CVE-2026-101023

Gitea OAuth2 refresh token grant accepts access tokens

State
Published
Severity
9.1 Critical
Published
Oct 6, 2026
Updated
Oct 7, 2026
Reserved
Oct 4, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NCISA-ADP

Weaknesses

Affected Products

ProductVersions
GiteaGitea
  • 28.0.0 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.