CVE-2026-26232: Vulnerability in code.gitea.io/gitea

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

Go, CWE-294

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-5v69-g2m3-3hq3
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-294
Published
3 Jul 2026
Last change
25 Oct 2026
Ecosystem
Go

Affected packages

Vulnerable version ranges and fixed releases

  • code.gitea.io/gitea Go, Affected before 1.25.5. Fixed in 1.25.5

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes