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

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 05-12-2026)
- Next step: Check applicability: affected before 1.25.5 (CNA); fix release not confirmed
- Status: published
- Published: 2026-07-03 · Modified: 2026-07-07
- Aliases: GHSA-m5ch-ppfx-xv3v, GO-2026-6342
- Record: https://cvemate.com/vulnerability/CVE-2026-26247 · JSON: https://cvemate.com/vulnerability/CVE-2026-26247/json

## Description

```text
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.
```

## Signals

- CVSS: 9.1 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.379%, percentile 33.956%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- gitea gitea open source git server: \< 1.25.5
- code.gitea.io gitea (Go): \< 1.25.5

## References

- <https://github.com/go-gitea/gitea/pull/36462>
- <https://github.com/go-gitea/gitea/pull/36477>
- <https://github.com/go-gitea/gitea/releases/tag/v1.25.5>
- <https://blog.gitea.com/release-of-1.25.5/>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-26247>
- <https://github.com/go-gitea/gitea/commit/750649c1ef092c95f95b206b9d5fa17471a0b1f5>
- <https://github.com/go-gitea/gitea/commit/bf8d11bb212ba2a76596d8a90e74e7d664571324>
- <https://blog.gitea.com/release-of-1.25.5>
- <https://github.com/go-gitea/gitea>
- <https://github.com/advisories/GHSA-m5ch-ppfx-xv3v>

---

Data as of 2026-12-05T14:50:48.029Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
