Vulnerability
CVE-2026-20779
Gitea versions from 1.5.0 before 1.26.3 have a TOTP single-use enforcement defect that allows a valid TOTP code to be accepted more than once across web two-factor authentication flows and the Basic Auth X-Gitea-OTP path.
3 advisories report this vulnerability, across 2 ecosystems.
Advisories
-
GHSA-gx3v-q759-g323
Gitea: TOTP TOCTOU race on web 2FA paths + missing replay check on Basic-Auth `X-Gitea-OTP` surface
-
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
-
openSUSE-SU-2026:21483-1
Security update for govulncheck-vulndb