CVE-2026-26247
9.1critical
Gitea OAuth2 PKCE S256 challenges are not enforced during token exchange
- Severity
- 9.1critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.38% (higher than 33% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Gitea
- Also known as
- GHSA-m5ch-ppfx-xv3vGO-2026-6342
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
| Product or package | Versions | Reported by |
|---|---|---|
| Gitea Gitea Open Source Git Server | before 1.25.5 | CVE List |
| code.gitea.io/gitea (Go) | before 1.25.5 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| CISA-ADP | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
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.
Go Vulnerability Database
Gitea OAuth2 PKCE S256 verifier bypass in code.gitea.io/gitea
NVD (es)
Las versiones de Gitea anteriores a la 1.25.5 no persisten correctamente el método de desafío OAuth2 PKCE S256 durante la autorización, permitiendo el intercambio de tokens sin la verificación del verificador esperada.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-26247 changed 2026-07-07 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-m5ch-ppfx-xv3v changed 2026-09-02 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-6342 changed 2026-09-02 | CC-BY-4.0 |
| NVD | CVE-2026-26247 changed 2026-10-25 | Public domain |