CVE-2026-26247
Gitea OAuth2 PKCE S256 verifier bypass
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA.
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | code.gitea.io/gitea | 1.25.5 |
| rapidfort alpine 3.20 | gitea | 1.27.1-r0 |
| rapidfort alpine 3.21 | gitea | 1.27.1-r0 |
| rapidfort alpine 3.22 | gitea | 1.27.1-r0 |
| rapidfort alpine 3.23 | gitea | 1.27.1-r0 |
| rapidfort alpine 3.24 | gitea | 1.27.1-r0 |
References
- https://blog.gitea.com/release-of-1.25.5
- https://blog.gitea.com/release-of-1.25.5/
- https://github.com/go-gitea/gitea
- https://github.com/go-gitea/gitea/commit/750649c1ef092c95f95b206b9d5fa17471a0b1f5
- https://github.com/go-gitea/gitea/commit/bf8d11bb212ba2a76596d8a90e74e7d664571324
- https://github.com/go-gitea/gitea/pull/36462
- https://github.com/go-gitea/gitea/pull/36477
- https://github.com/go-gitea/gitea/releases/tag/v1.25.5