Vulnerability advisory
GHSA-m5ch-ppfx-xv3v
Gitea OAuth2 PKCE S256 verifier bypass
Also known as CVE-2026-26247GO-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
| Affected | Fixed in |
|---|---|
| All versions before 1.25.5 | 1.25.5 |
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
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-26247 ↗
- Webgithub.com/go-gitea/gitea/pull/36462 ↗
- Webgithub.com/go-gitea/gitea/pull/36477 ↗
- Webgithub.com/go-gitea/gitea/commit/750649c1ef092c95f95b206b9d5fa17471a0b1f5 ↗
- Webgithub.com/go-gitea/gitea/commit/bf8d11bb212ba2a76596d8a90e74e7d664571324 ↗
- Webblog.gitea.com/release-of-1.25.5 ↗
- Packagegithub.com/go-gitea/gitea ↗
- Webgithub.com/go-gitea/gitea/releases/tag/v1.25.5 ↗