Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. code.gitea.io/gitea
  4. ›
  5. CVE-2026-26247

CVE-2026-26247: Gitea OAuth2 PKCE S256 verifier bypass

July 3, 2026 (updated September 1, 2026)

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.

References

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

Code Behaviors & Features

Detect and mitigate CVE-2026-26247 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.25.5

Fixed versions

  • 1.25.5

Solution

Upgrade to version 1.25.5 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control

Source file

go/code.gitea.io/gitea/CVE-2026-26247.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:47 +0000.