{"id":"GO-2026-6057","summary":"Gitea: TOTP TOCTOU race on web 2FA paths + missing replay check on Basic-Auth `X-Gitea-OTP` surface in code.gitea.io/gitea","details":"Gitea: TOTP TOCTOU race on web 2FA paths + missing replay check on Basic-Auth `X-Gitea-OTP` surface in code.gitea.io/gitea","aliases":["CVE-2026-20779","GHSA-gx3v-q759-g323"],"modified":"2026-07-22T21:00:26.799039419Z","published":"2026-07-22T20:36:35Z","database_specific":{"review_status":"UNREVIEWED","url":"https://pkg.go.dev/vuln/GO-2026-6057"},"references":[{"type":"ADVISORY","url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-gx3v-q759-g323"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-20779"},{"type":"WEB","url":"https://blog.gitea.com/release-of-1.26.3-and-1.26.4"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/commit/99f8b3d9a1d32f4c39828e07971455a18191e0b9"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/38151"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/releases/tag/v1.26.3"}],"affected":[{"package":{"name":"code.gitea.io/gitea","ecosystem":"Go","purl":"pkg:golang/code.gitea.io/gitea"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.5.0"},{"fixed":"1.26.3"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2026-6057.json"}}],"schema_version":"1.7.5"}