CVE-2026-101023: Vulnerability in Gitea

Critical. 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.

CWE-287

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-287
Published
6 Oct 2026
Last change
13 Oct 2026

Affected products

Affected versions and the first fixed release

  • Gitea Before 28.1.0. Fixed in 28.1.0

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related