CVE-2026-20779 json
Gitea TOTP single-use enforcement defect allows OTP replay
published 2026-07-03 4 mo ago modified 2026-10-25 14 d ago also GHSA-gx3v-q759-g323 , GO-2026-6057 , EUVD-2026-41613
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go code.gitea.io/gitea 1.26.3
- Gitea Gitea Open Source Git Server 1.26.3
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
- github.com/go-gitea/gitea@99f8b3d commit
- github.com/go-gitea/gitea#38151 pull request
- github.com/go-gitea/gitea/releases/tag/v1.26.3 release
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4 mo ago
Exploit prediction
0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/go-gitea/gitea/security/advisories/GHSA-gx3v-q759-g323 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N |
| GitHub | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | code.gitea.io/gitea | >=1.5.0, <1.26.3 |
1.26.3 |
Affected products
- Gitea Gitea Open Source Git Server
Classification
- Weakness
-
- CWE-294 Authentication Bypass by Capture-replay
References
-
github.com
/go-gitea/gitea/pull/38151
patch, web
-
github.com
/go-gitea/gitea/commit/99f8b3d9a1d32f4c39828e07971455a18191e0b9
web
-
github.com
/go-gitea/gitea/security/advisories/GHSA-gx3v-q759-g323
vendor-advisory, exploit, web, advisory
-
github.com
/go-gitea/gitea/releases/tag/v1.26.3
release-notes, web
-
blog.gitea.com
/release-of-1.26.3-and-1.26.4/
release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-20779
advisory
-
blog.gitea.com
/release-of-1.26.3-and-1.26.4
web
-
github.com
/go-gitea/gitea
package
Sources
- CVE List CVE-2026-20779
- GitHub Advisory GHSA-gx3v-q759-g323
- NVD CVE-2026-20779
- OSV GO-2026-6057
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.