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

CVE-2026-26232: Gitea OAuth2 authorization codes can be reused after expiry

July 3, 2026 (updated September 1, 2026)

Gitea versions before 1.25.5 do not consistently enforce OAuth2 authorization code expiry and single-use behavior during token exchange.

References

  • blog.gitea.com/release-of-1.25.5
  • github.com/advisories/GHSA-5v69-g2m3-3hq3
  • github.com/go-gitea/gitea/commit/413074b1e1dc5718b4865b9493d8cc97e1e128de
  • github.com/go-gitea/gitea/commit/f3bdcc58aff60b66eba7bd5e9b23457441733dfe
  • github.com/go-gitea/gitea/pull/36797
  • github.com/go-gitea/gitea/pull/36851
  • github.com/go-gitea/gitea/releases/tag/v1.25.5
  • nvd.nist.gov/vuln/detail/CVE-2026-26232

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

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-294: Authentication Bypass by Capture-replay

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 22 Sep 2026 12:22:11 +0000.