Vulnerability advisory
CVE-2026-26247
Gitea OAuth2 PKCE S256 challenges are not enforced during token exchange
Also known as GHSA-m5ch-ppfx-xv3vGO-2026-6342
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/go-gitea/gitea ↗ | |
| All commits before f913d90ab664c1deccdfbe8c563abb13e897d62b | f913d90ab664c1deccdfbe8c563abb13e897d62b |
Also listed as affected (44)
| |
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.
References
- Advisoryblog.gitea.com/release-of-1.25.5/ ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26247.json ↗
- Advisorygithub.com/go-gitea/gitea/releases/tag/v1.25.5 ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-26247 ↗
- Fixgithub.com/go-gitea/gitea/pull/36462 ↗
- Fixgithub.com/go-gitea/gitea/pull/36477 ↗