GitHub Advisoryadvisory · Go
GHSA-m5ch-ppfx-xv3v Gitea OAuth2 PKCE S256 verifier bypass
CRITICAL
Official page ↗
- Aliases
- CVE-2026-26247
- Ecosystem
- Go
- Packages
- code.gitea.io/gitea
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-284
- Reviewed
- 2026-09-01
Affected packages
• Go code.gitea.io/gitea: < 1.25.5 → fixed in 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.
Related
Alias · CVE (1)
- CVE-2026-26247 Gitea versions before 1.25.5 do not persist the OAuth2 PKCE S256 challenge method correctly during authorization, allowing token exchange… vulnerability
Weakness · CWE (1)
- CWE-284 Improper Access Control weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-26247 advisory
- https://github.com/go-gitea/gitea/pull/36462 web
- https://github.com/go-gitea/gitea/pull/36477 web
- https://github.com/go-gitea/gitea/commit/750649c1ef092c95f95b206b9d5fa17471a0b1f5 web
- https://github.com/go-gitea/gitea/commit/bf8d11bb212ba2a76596d8a90e74e7d664571324 web
- https://blog.gitea.com/release-of-1.25.5 web
- https://github.com/go-gitea/gitea package
- https://github.com/go-gitea/gitea/releases/tag/v1.25.5 web