Vulnerability advisory
GO-2026-6057
Gitea: TOTP TOCTOU race on web 2FA paths + missing replay check on Basic-Auth `X-Gitea-OTP` surface in code.gitea.io/gitea
Also known as CVE-2026-20779GHSA-gx3v-q759-g323
Severity
Severity not reported.
Affected versions
| Affected | Fixed in |
|---|---|
1.5.0 to before 1.26.3 | 1.26.3 |
Description
Gitea: TOTP TOCTOU race on web 2FA paths + missing replay check on Basic-Auth X-Gitea-OTP surface in code.gitea.io/gitea
References
- Advisorygithub.com/go-gitea/gitea/security/advisories/GHSA-gx3v-q759-g323 ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-20779 ↗
- Webblog.gitea.com/release-of-1.26.3-and-1.26.4 ↗
- Webgithub.com/go-gitea/gitea/commit/99f8b3d9a1d32f4c39828e07971455a18191e0b9 ↗
- Webgithub.com/go-gitea/gitea/pull/38151 ↗
- Webgithub.com/go-gitea/gitea/releases/tag/v1.26.3 ↗