CVE-2026-26247
published critical CVSS 3.1 · 9.1Gitea OAuth2 PKCE S256 challenges are not enforced during token exchange
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | Gitea Open Source Git Server0 to < 1.25.5 · Other versions: unaffected | Affected | Not stated | Gitea |
Description
Gitea versions before 1.25.5 do not persist the OAuth2 PKCE S256 challenge method correctly during authorization, allowing token exchange without the expected verifier check.
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 Open Source Git Server | 0 to < 1.25.5 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-284
References
4- Gitea v1.25.5 Release Blog Post https://blog.gitea.com/release-of-1.25.5/
- GitHub Pull Request #36462 https://github.com/go-gitea/gitea/pull/36462
- GitHub Pull Request #36477 https://github.com/go-gitea/gitea/pull/36477
- Gitea v1.25.5 Release https://github.com/go-gitea/gitea/releases/tag/v1.25.5
Provider assertions
2Gitea · cna
Gitea OAuth2 PKCE S256 challenges are not enforced during token exchange
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f304f51a5f0b21c1bbe5fc9fa3c7cba6d564239a12327630aca2a3f5c0e00a42
- Ingested
- 23 Sep 2026, 09:07:24 UTC
- Source record
- Official CVE record