CVE-2026-20779
Published:July 03, 2026
Updated:July 21, 2026
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 Packages
https://github.com/go-gitea/gitea.git (GITHUB):
Affected version(s) >=v1.5.0 <v1.26.3Fix Suggestion:
Update to version v1.26.3github.com/go-gitea/gitea (GO):
Affected version(s) >=v1.5.0 <v1.26.3Fix Suggestion:
Update to version v1.26.3Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Authentication Bypass by Capture-replay
EPSS
Base Score:
0.48