Vulnerability in Gitea Open Source Git Server
CVE-2026-20779
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 v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N.
Affected products
- Gitea Open Source Git Server — versions 1.5.0
Weakness classification (CWE)
References
- 88ee5874-cf24-4952-aea0-31affedb7ff2 (vendor-advisory)
- 88ee5874-cf24-4952-aea0-31affedb7ff2 (patch)
- 88ee5874-cf24-4952-aea0-31affedb7ff2 (release-notes)
- 88ee5874-cf24-4952-aea0-31affedb7ff2 (release-notes)
Frequently asked questions
- What is CVE-2026-20779?
- CVE-2026-20779 is a high-severity vulnerability in Gitea Open Source Git Server, classified under Authentication Bypass by Capture-replay. CVSS score: 7.1/10. Published 2026-07-03.
- How severe is CVE-2026-20779?
- High severity. CVSS v3 base score is 7.1 out of 10.