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.
CVE-2026-20779
This high-severity CVE scores 7.1 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.5%, top 62% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.1
- EG Score
- 7.1(medium)
- EPSS
- 38.1%
- KEV
- Not listed
Published
July 3, 2026
Last Modified
July 7, 2026
Advisory Details (4)
Auto-updated Jul 3, 2026TOTP TOCTOU race on web 2FA paths + missing replay check on Basic-Auth `X-Gitea-OTP` surface · Advisory · go-gitea/gitea · GitHub
https://github.com/go-gitea/gitea/security/advisories/GHSA-gx3v-q759-g323v1.26.3
Patch available: go-gitea/gitea v1.26.3
https://github.com/go-gitea/gitea/releases/tag/v1.26.3fix: Various security fixes (#38103)
Fix merged in go-gitea/gitea PR #38151 on 2026-06-17 — awaiting tagged release
https://github.com/go-gitea/gitea/pull/38151Gitea 1.26.3 and 1.26.4 are released | Gitea Blog
https://blog.gitea.com/release-of-1.26.3-and-1.26.4/Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 21× in last 7d / 26× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 23:02 UTCEG score recompute
- 2026-07-11 11:00 UTCEG score recompute
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-10 22:58 UTCEG score recompute
- 2026-07-10 10:57 UTCEG score recompute
- 2026-07-09 22:51 UTCEG score recompute
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 10:50 UTCEG score recompute
- 2026-07-08 22:47 UTCEG score recompute
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-08 10:46 UTCEG score recompute
- 2026-07-07 22:44 UTCEG score recompute
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-07 10:44 UTCEG score recompute
- 2026-07-06 22:41 UTCEG score recompute
- 2026-07-06 10:40 UTCEG score recompute
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 22:37 UTCEG score recompute
- 2026-07-05 10:36 UTCEG score recompute
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 22:33 UTCEG score recompute
- 2026-07-04 10:31 UTCEG score recompute
- 2026-07-03 22:30 UTCEG score recompute
Show 1 moreShow fewer
- 2026-07-03 22:27 UTCNVD updatefirst tracked
Frequently asked(5)
What is CVE-2026-20779?
When was CVE-2026-20779 disclosed?
Is CVE-2026-20779 actively exploited?
What is the CVSS score of CVE-2026-20779?
How do I remediate CVE-2026-20779?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-20779
Is Your Infrastructure Affected by CVE-2026-20779?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.