CVE-2026-20779

Gitea TOTP single-use enforcement defect allows OTP replay

State
Published
Severity
7.1 High
Published
Jul 3, 2026
Updated
Jul 7, 2026
Reserved
Mar 3, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:NGitea

Weaknesses

Affected Products

ProductVersions
Gitea Open Source Git ServerGitea
  • 1.5.0 to before 1.26.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.