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

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-07-03T20:19:34.820Z
- Modified: 2026-10-25T15:10:00.147Z
- Also known as: GHSA-m5ch-ppfx-xv3v, GO-2026-6342
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Gitea

## 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.

(As written by CVE List.)

## Affected

- Gitea Gitea Open Source Git Server: before 1.25.5
- code.gitea.io/gitea (Go): before 1.25.5

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

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

## Sources

- CVE List: [CVE-2026-26247](https://www.cve.org/CVERecord?id=CVE-2026-26247), CVE Terms of Use, modified 2026-07-07
- GitHub Advisory Database: [GHSA-m5ch-ppfx-xv3v](https://github.com/advisories/GHSA-m5ch-ppfx-xv3v), CC-BY-4.0, modified 2026-09-02
- Go Vulnerability Database: [GO-2026-6342](https://pkg.go.dev/vuln/GO-2026-6342), CC-BY-4.0, modified 2026-09-02
- NVD: [CVE-2026-26247](https://nvd.nist.gov/vuln/detail/CVE-2026-26247), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-26247 · Whole record: https://cve.day/CVE-2026-26247.json · Rebuilt by cve.day 2026-11-25T22:59:27.112Z
