CRITICAL9.1
GHSA-5v69-g2m3-3hq3
Gitea OAuth2 authorization codes can be reused after expiry
Quick fix
GHSA-5v69-g2m3-3hq3 — code.gitea.io/gitea: upgrade to the fixed version with the command below.
go get code.gitea.io/gitea@v1.25.5Details
Gitea versions before 1.25.5 do not consistently enforce OAuth2 authorization code expiry and single-use behavior during token exchange.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-26232[ADVISORY]
- https://github.com/go-gitea/gitea/pull/36797[WEB]
- https://github.com/go-gitea/gitea/pull/36851[WEB]
- https://github.com/go-gitea/gitea/commit/413074b1e1dc5718b4865b9493d8cc97e1e128de[WEB]
- https://github.com/go-gitea/gitea/commit/f3bdcc58aff60b66eba7bd5e9b23457441733dfe[WEB]
- https://blog.gitea.com/release-of-1.25.5[WEB]
- https://github.com/go-gitea/gitea[PACKAGE]
- https://github.com/go-gitea/gitea/releases/tag/v1.25.5[WEB]