CVE-2026-26247 Gitea OAuth2 PKCE S256 challenges are not enforced during token exchange
CriticalCVSS 9.1
EPSS 0.50%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| code.gitea.io/gitea(Go) | < 1.25.5 | 1.25.5 | Fixed |
| Gitea Open Source Git Server | < 1.25.5 | 1.25.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Gitea Open Source Git Server | < 1.25.5 | 1.25.5 |
| code.gitea.io/gitea(Go) | < 1.25.5 | 1.25.5 |
References
- GitHub Pull Request #36462 patch
- GitHub Pull Request #36477 patch
- Gitea v1.25.5 Release release-notes
- Gitea v1.25.5 Release Blog Post release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com product
- github.com vendor-advisory