What’s Vulnerable › Vulnerabilities

CVE-2026-20779: Gitea TOTP single-use enforcement defect allows OTP replay

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Gitea Open Source Git Server 1.26.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-20779 or the next vulnerability affects your stack