CVE-2026-101023
published critical CVSS 3.1 · 9.1Gitea OAuth2 refresh token grant accepts access tokens
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 0 through 28.0.0 · Other versions: unaffected | Affected | Not stated | Gitea |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 0 through 28.0.0 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-287 CWE-287 Improper Authentication
References
5- Gitea 28.1.0 release announcement https://blog.gitea.com/release-of-28.1.0/
- Fix: go-gitea/gitea pull request #39501 https://github.com/go-gitea/gitea/pull/39501
- Fix backport to release/v28: go-gitea/gitea pull request #39507 https://github.com/go-gitea/gitea/pull/39507
- go-gitea/gitea v28.1.0 release https://github.com/go-gitea/gitea/releases/tag/v28.1.0
- GitHub Security Advisory GHSA-469m-x4mw-38r3 https://github.com/go-gitea/gitea/security/advisories/GHSA-469m-x4mw-38r3
Provider assertions
2Gitea · cna
Gitea OAuth2 refresh token grant accepts access tokens
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 00539609276562713005a136c9357c22b72cf9150b5a4acd4472feac97c355d8
- Ingested
- 07 Oct 2026, 22:38:03 UTC
- Source record
- Official CVE record