CVE-2026-20779

published 3 Jul 2026 · updated 7 Jul 2026

Gitea TOTP single-use enforcement defect allows OTP replay

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Open Source Git Server 1.26.3.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GiteaOpen Source Git Server>=1.5.0 <1.26.31.26.3

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Gitea, strongest first

10.0CriticalCISA KEVPublic exploit

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-20779 severity on Zeptric[![CVE-2026-20779](https://zeptric.io/badge/cve/CVE-2026-20779.svg)](https://zeptric.io/cve/CVE-2026-20779)