CVE-2026-26247: Vulnerability in code.gitea.io/gitea

Critical. 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, CWE-284

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-m5ch-ppfx-xv3v
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-284
Published
3 Jul 2026
Last change
25 Oct 2026
Ecosystem
Go

Affected packages

Vulnerable version ranges and fixed releases

  • code.gitea.io/gitea Go, Affected before 1.25.5. Fixed in 1.25.5

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes