CVE Catalog

CVE-2026-101023

CriticalCVSS 9.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.17%

6th percentile - higher than 6% of all known CVEs

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.

Risk Assessment

Session extension — an attacker with an access token can obtain new tokens and maintain access to the victim's account beyond the intended time, potentially leading to prolonged unauthorized access.

Recommendation

Update Gitea to a patched version and verify the OAuth2 token endpoint checks the token type when using the refresh_token grant.

Other vulnerabilities in Gitea

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS