CVE-2026-20779 HIGH

CVE-2026-20779: Gitea TOTP single-use enforcement defect allows OTP replay

Vendor Gitea
Product Gitea Open Source Git Server
Weakness CWE-294
Published July 3, 2026
Last update July 7, 2026

CVSS base score

7.1/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality High
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 3, 2026 CVE published
July 7, 2026 Record updated