{"id":"CVE-2026-20779","published":"2026-07-03T20:19:29Z","modified":"2026-07-07T17:00:54Z","title":"Gitea TOTP single-use enforcement defect allows OTP replay","vendor":"Gitea","product":"Gitea Open Source Git Server","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00492,"percentile":0.43163,"provenance":"source"},"cwes":[{"id":"CWE-294","name":"Authentication Bypass by Capture-replay"}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-gx3v-q759-g323","tags":["vendor-advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/38151","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.26.3","tags":["release-notes"]},{"url":"https://blog.gitea.com/release-of-1.26.3-and-1.26.4/","tags":["release-notes"]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":8.63},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"gitea","affectedVersions":[{"vendor":"Gitea","product":"Gitea Open Source Git Server","versions":[">= 1.5.0, < 1.26.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-06T19:02:05.918693Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"code.gitea.io/gitea","vulnerableRanges":[">=1.5.0, <1.26.3"],"patched":["1.26.3"],"from":["GHSA-gx3v-q759-g323","GO-2026-6057"],"provenance":"source"}],"summary":{"text":"Gitea versions from 1.5.0 before 1.26.3 contain a TOTP single-use enforcement defect in the web two-factor authentication flows and the Basic Auth X-Gitea-OTP path of the Gitea Open Source Git Server. An attacker who can capture a valid TOTP code can replay it to be accepted more than once, which requires network access and user interaction, such as the victim being induced to take an action during the flow.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:26Z"},"euvd":{"id":"EUVD-2026-41613","exploited":false,"provenance":"source"}}