{"id":"CVE-2026-20779","state":"PUBLISHED","title":"Gitea TOTP single-use enforcement defect allows OTP replay","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.","publishedAt":"2026-07-03T20:19:29.239Z","updatedAt":"2026-07-07T17:00:54.312Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","source":"Gitea"},"assigner":"Gitea","products":["Gitea Gitea Open Source Git Server"],"affected":[{"vendor":"Gitea","product":"Gitea Open Source Git Server","defaultStatus":"unaffected","versions":[{"version":"1.5.0","status":"affected","lessThan":"1.26.3","versionType":"semver"}]}],"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/"],"weaknesses":["CWE-294"],"ingestedAt":"2026-10-29T20:11:10.572Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/20xxx/CVE-2026-20779.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-20779","state":"PUBLISHED","datePublished":"2026-07-03T20:19:29.239Z","dateUpdated":"2026-07-07T17:00:54.312Z","assignerShortName":"Gitea","assignerOrgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","dateReserved":"2026-03-03T03:26:00.104Z"},"containers":{"cna":{"title":"Gitea TOTP single-use enforcement defect allows OTP replay","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Gitea","product":"Gitea Open Source Git Server","defaultStatus":"unaffected","versions":[{"version":"1.5.0","status":"affected","lessThan":"1.26.3","versionType":"semver"}]}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-gx3v-q759-g323","name":"GitHub Security Advisory","tags":["vendor-advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/38151","name":"GitHub Pull Request #38151","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.26.3","name":"Gitea v1.26.3 Release","tags":["release-notes"]},{"url":"https://blog.gitea.com/release-of-1.26.3-and-1.26.4/","name":"Gitea v1.26.4 Release Blog Post","tags":["release-notes"]}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"NONE"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-294","description":"CWE-294","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Gitea","orgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","dateUpdated":"2026-07-03T20:19:29.239Z"},"credits":[{"lang":"en","value":"Kript0r3x","type":"reporter"}],"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-gx3v-q759-g323","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-06T19:02:05.918693Z","id":"CVE-2026-20779","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-07T17:00:54.312Z"}}]}}}