What’s Vulnerable › Vulnerabilities
CVE-2026-20779: Gitea TOTP single-use enforcement defect allows OTP replay
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-03 · updated 2026-10-25
- Weakness: CWE-294
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
- Gitea Open Source Git Server: from 1.5.0 before 1.26.3 — fixed in 1.26.3
How to fix
Upgrade to a fixed version: Gitea Open Source Git Server 1.26.3. Check the vendor advisory for mitigations.
References
- https://blog.gitea.com/release-of-1.26.3-and-1.26.4/
- https://github.com/go-gitea/gitea/pull/38151
- https://github.com/go-gitea/gitea/releases/tag/v1.26.3
- https://github.com/go-gitea/gitea/security/advisories/GHSA-gx3v-q759-g323
- https://github.com/go-gitea/gitea/security/advisories/GHSA-gx3v-q759-g323
Get alerted when CVE-2026-20779 or the next vulnerability affects your stack