CVE-2026-20779Gitea TOTP single-use enforcement defect allows OTP replay
- 7.1HighCVSS base score
- 0.49%Exploitation in 30 daysEPSS · top 57% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits1
References tagged exploit1 reference
- GitHub Security Advisory (opens in a new tab)vendor-advisoryexploit
Timeline
ID reserved
By Gitea
- 4 months later
· 4 months later
Published
- 4 days later
· 4 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GiteaCNA (assigner) | 3.1 | High7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N |
| NVDNVD · Deferred | 3.1 | High7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.49% · top 57% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Affected products
Gitea · Gitea Open Source Git Server
- affected 1.5.0 – < 1.26.3
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gocode.gitea.io/giteaGHSA-gx3v-q759-g323 (opens in a new tab)
References
References4
- GitHub Security Advisory (opens in a new tab)vendor-advisoryexploit
- GitHub Pull Request #38151 (opens in a new tab)patch
- Gitea v1.26.3 Release (opens in a new tab)release-notes
- Gitea v1.26.4 Release Blog Post (opens in a new tab)release-notes
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-41613 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-gx3v-q759-g323 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-20779)Record last updated .