CVE-2026-26247

Gitea OAuth2 PKCE S256 challenges are not enforced during token exchange

State
Published
Severity
9.1 Critical
Published
Jul 3, 2026
Updated
Jul 7, 2026
Reserved
Mar 3, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NCISA-ADP

Weaknesses

Affected Products

ProductVersions
Gitea Open Source Git ServerGitea
  • before 1.25.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.