CVE-2026-20779
published high CVSS 3.1 · 7.1Gitea TOTP single-use enforcement defect allows OTP replay
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | Gitea Open Source Git Server1.5.0 to < 1.26.3 · Other versions: unaffected | Affected | Not stated | Gitea |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- Gitea · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea Open Source Git Server | 1.5.0 to < 1.26.3 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-294
References
4- Gitea v1.26.4 Release Blog Post https://blog.gitea.com/release-of-1.26.3-and-1.26.4/
- GitHub Pull Request #38151 https://github.com/go-gitea/gitea/pull/38151
- Gitea v1.26.3 Release https://github.com/go-gitea/gitea/releases/tag/v1.26.3
- GitHub Security Advisory https://github.com/go-gitea/gitea/security/advisories/GHSA-gx3v-q759-g323
Provider assertions
2Gitea · cna
Gitea TOTP single-use enforcement defect allows OTP replay
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ead15b70ebb62a1693b6f580b34cae82bd3f364c62fed756e10de1782c98719c
- Ingested
- 23 Sep 2026, 09:04:41 UTC
- Source record
- Official CVE record