go-gitea/gitea · Security
Gitea OAuth2 authorization codes can be reused after expiry
- GHSA ID
- GHSA-5v69-g2m3-3hq3
- CVE ID
- CVE-2026-26232
- Severity
- critical
- Published
- Updated
- CVSS
- 9.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CVSS v3
- 9.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Description
Gitea versions before 1.25.5 do not consistently enforce OAuth2 authorization code expiry and single-use behavior during token exchange.
CWEs
- CWE-294 · Authentication Bypass by Capture-replay
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-26232 ↗
- https://github.com/go-gitea/gitea/pull/36797 ↗
- https://github.com/go-gitea/gitea/pull/36851 ↗
- https://blog.gitea.com/release-of-1.25.5 ↗
- https://github.com/go-gitea/gitea/releases/tag/v1.25.5 ↗
- https://github.com/go-gitea/gitea/commit/413074b1e1dc5718b4865b9493d8cc97e1e128de ↗
- https://github.com/go-gitea/gitea/commit/f3bdcc58aff60b66eba7bd5e9b23457441733dfe ↗
- https://github.com/advisories/GHSA-5v69-g2m3-3hq3 ↗