CVE-2026-26247: Gitea OAuth2 PKCE S256 verifier bypass
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.
Published Jul 3, 2026 · Updated Sep 1, 2026
Affected packages
code.gitea.io/gitea
- Ecosystem
- Go
- Affected
- < 1.25.5
- Fixed in
- 1.25.5
- Check
go list -m code.gitea.io/gitea
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
- https://nvd.nist.gov/vuln/detail/CVE-2026-26247
- https://github.com/go-gitea/gitea/pull/36462
- https://github.com/go-gitea/gitea/pull/36477
- https://blog.gitea.com/release-of-1.25.5
- https://github.com/go-gitea/gitea/releases/tag/v1.25.5
- https://github.com/go-gitea/gitea/commit/750649c1ef092c95f95b206b9d5fa17471a0b1f5
- https://github.com/go-gitea/gitea/commit/bf8d11bb212ba2a76596d8a90e74e7d664571324
- https://github.com/advisories/GHSA-m5ch-ppfx-xv3v
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-20896
Gitea Docker image: `REVERSE_PROXY_TRUSTED_PROXIES = *` default lets any source IP impersonate any user via `X-WEBAUTH-USER`
critical9.8Jul 21, 2026CVE-2026-22874
Gitea: Incomplete SSRF Protection in Webhook and Migration Allow-list Default Filter
critical9.6Jul 21, 2026CVE-2026-56750
Gitea Remember-Me Token Theft Not Invalidating Attacker Session
critical9.1Jul 21, 2026CVE-2026-58426
Gitea Actions Artifacts V4 signed URL HMAC ambiguity allows cross-repository artifact read and cross-task upload-state write
critical9.6Jul 21, 2026CVE-2026-58443
Gitea: Public-only repository tokens can update private PR head branches
critical9.6Jul 21, 2026CVE-2026-22547
Gitea repository creation accepts insufficiently validated fields
critical9.1Jul 3, 2026
