Paper/Archive/CVE-2026-101023

CVE-2026-101023

Gitea Gitea — Gitea OAuth2 refresh token grant accepts access tokens

Description · from the CVE record

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

ProductAffectedFixed inSource
Gitea≤ 28.0.0–CNA

Scores by source

CISA ADP9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

advisorygithub.com/go-gitea/gitea/security/advisories/GHSA-469m-x4mw-38r3patchgithub.com/go-gitea/gitea/pull/39501patchgithub.com/go-gitea/gitea/pull/39507refblog.gitea.com/release-of-28.1.0refgithub.com/go-gitea/gitea/releases/tag/v28.1.0