go-gitea/gitea · Security

Gitea OAuth2 PKCE S256 verifier bypass

GHSA ID
GHSA-m5ch-ppfx-xv3v
CVE ID
CVE-2026-26247
Severity
critical
Published
Updated
CVSS
9.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v3
9.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

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.

CWEs

References