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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-03 · Modified: 2026-07-07
- Aliases: GHSA-gx3v-q759-g323, GO-2026-6057
- Record: https://cvemate.com/vulnerability/CVE-2026-20779 · JSON: https://cvemate.com/vulnerability/CVE-2026-20779/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
- EPSS: 0.492%, percentile 43.856%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- gitea gitea open source git server: ≥ 1.5.0, \< 1.26.3
- code.gitea.io gitea (Go): ≥ 1.5.0, \< 1.26.3

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-gx3v-q759-g323>
- <https://github.com/go-gitea/gitea/pull/38151>
- <https://github.com/go-gitea/gitea/releases/tag/v1.26.3>
- <https://blog.gitea.com/release-of-1.26.3-and-1.26.4/>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-20779>
- <https://github.com/go-gitea/gitea/commit/99f8b3d9a1d32f4c39828e07971455a18191e0b9>
- <https://blog.gitea.com/release-of-1.26.3-and-1.26.4>
- <https://github.com/go-gitea/gitea>

---

Data as of 2026-12-05T14:58:45.162Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
