Gitea Open Source Git Server
Gitea OAuth2 PKCE S256 challenges are not enforced during token exchange
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.1critical · scored by CISA ADP · CWE-284
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Gitea Gitea Open Source Git Server
- < 1.25.5
Fixed in 1.25.5
Mitigation
Upgrade Gitea Open Source Git Server to 1.25.5 or later.
References
- Patch github.com/go-gitea/gitea/pull/36462
- Patch github.com/go-gitea/gitea/pull/36477
- Release notes github.com/go-gitea/gitea/releases/tag/v1.25.5
1 more
- Release notes blog.gitea.com/release-of-1.25.5
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.