CVE-2026-26247
JSON

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 packageVersionsReported by
Gitea Gitea Open Source Git Serverbefore 1.25.5CVE List
code.gitea.io/gitea (Go)before 1.25.5GitHub Advisory Database, Go Vulnerability Database

All scores

CISA-ADP9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-284

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

SourceRecordLicence
CVE ListCVE-2026-26247 changed 2026-07-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-m5ch-ppfx-xv3v changed 2026-09-02CC-BY-4.0
Go Vulnerability DatabaseGO-2026-6342 changed 2026-09-02CC-BY-4.0
NVDCVE-2026-26247 changed 2026-10-25Public domain