Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-26247 EUVD-2026-41629GHSA-m5ch-ppfx-xv3vGO-2026-6342

Gitea OAuth2 PKCE S256 challenges are not enforced during token exchange

Published Jul 3, 2026 · Updated Jul 7, 2026 · Assigned by Gitea

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 products

VendorProductAffectedFixed
Gitea Gitea Open Source Git Server < 1.25.5 1.25.5

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES for SAP 16.0 govulncheck-vulndb 0.0.20260902T191204-160000.1.1 SUSE-SU-2026:23712-1, SUSE-SU-2026:23692-1
SLES 16.0 govulncheck-vulndb 0.0.20260902T191204-160000.1.1 SUSE-SU-2026:23712-1, SUSE-SU-2026:23692-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260902T191204-160000.1.1 openSUSE-SU-2026:21812-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go code.gitea.io/gitea < 1.25.5 1.25.5 GHSA-m5ch-ppfx-xv3v

Advisories 4

References