CVE-2026-26247
CRITICAL 9.1CVSS 3.1Gitea OAuth2 PKCE S256 verifier bypass
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.
- Published
- 3 Jul 2026
- Last modified
- 25 Oct 2026
- Assigned by
- 88ee5874-cf24-4952-aea0-31affedb7ff2
- NVD status
- Deferred
- Weakness
- CWE-284
- Also known as
- GHSA-m5ch-ppfx-xv3vGO-2026-6342
- Sources
- NVDJSONOSV GHSA-m5ch-ppfx-xv3vJSONOSV GO-2026-6342JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | code.gitea.io/gitea | < 1.25.5 | 1.25.5 |
References
- https://blog.gitea.com/release-of-1.25.5/ · WEB
- https://github.com/go-gitea/gitea/pull/36462 · WEB
- https://github.com/go-gitea/gitea/pull/36477 · WEB
- https://github.com/go-gitea/gitea/releases/tag/v1.25.5 · WEB
- 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://github.com/go-gitea/gitea · PACKAGE
- https://github.com/advisories/GHSA-m5ch-ppfx-xv3v · ADVISORY
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 3 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Sep 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 3 Jul 2026)