High severity · published Jul 3, 2026
CVE-2026-20779
Gitea TOTP single-use enforcement defect allows OTP replay
7.1
CVSS
0.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 42% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GO
Gitea Open Source Git Server · Gitea
1.5.0 before 1.26.3 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-20779
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-20779
blog.gitea.com
https://blog.gitea.com/release-of-1.26.3-and-1.26.4/
github.com
https://github.com/go-gitea/gitea/pull/38151
github.com
https://github.com/go-gitea/gitea/releases/tag/v1.26.3
github.com
https://github.com/go-gitea/gitea/security/advisories/GHSA-gx3v-q759-g323
More from Gitea Open Source Git Server
9.8
CVE-2026-56654
Privilege Escalation via Access Token Scope Escalation in API
9.8
CVE-2026-58422
Improper authorization on OAuth sign-in callback silently re-enables administrator-disabled accounts
9.8
CVE-2026-27780
Gitea pre-receive hook can miss branch-protection checks after scanner errors
9.8
CVE-2026-26292
Gitea LFS mirror synchronization bypasses migration HTTP transport restrictions
9.8
CVE-2026-20896
Gitea Docker image trusts spoofable reverse-proxy headers by default
