Skip to content

CVE-2026-26247 Gitea OAuth2 PKCE S256 challenges are not enforced during token exchange

CriticalCVSS 9.1 EPSS 0.50%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
code.gitea.io/gitea(Go) < 1.25.5 1.25.5 Fixed
Gitea Open Source Git Server < 1.25.5 1.25.5 Fixed

Affected products

ProductAffected versionsFixed in
Gitea Open Source Git Server < 1.25.5 1.25.5
code.gitea.io/gitea(Go) < 1.25.5 1.25.5

References