CVE-2026-101023Gitea
OAuth2 Token Validation Bypass in Gitea
Critical 9.1 No auth needed
Follow: this CVE · Gitea · Gitea We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Oct 6, 2026
- Updated
- Oct 13, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-287
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
Gitea's OAuth2 token endpoint failed to verify that submitted tokens were refresh tokens, allowing unexpired access tokens to be exchanged for new tokens. An attacker with a valid access token could maintain access indefinitely beyond its original lifetime.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 28.1.0
Update Gitea to version 28.1.0 or later to apply proper OAuth2 token validation.
- Apply the vendor's security update for Gitea.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gitea | gitea | < 28.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- blog.gitea.com Release Notes
- github.com Patch
- github.com Patch
- github.com Release Notes
- github.com Vendor Advisory