{"id":"GO-2026-6057","revision":"24803ae1b88b4f9cb6995eff6d20f6b9","records":[{"revision":"24803ae1b88b4f9cb6995eff6d20f6b9","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-6057","aliases":["CVE-2026-20779","GHSA-gx3v-q759-g323"],"title":"Gitea: TOTP TOCTOU race on web 2FA paths + missing replay check on Basic-Auth `X-Gitea-OTP` surface in code.gitea.io/gitea","description":"Gitea: TOTP TOCTOU race on web 2FA paths + missing replay check on Basic-Auth `X-Gitea-OTP` surface in code.gitea.io/gitea","state":0,"publishedAt":"2026-07-22T20:36:35+00:00","modifiedAt":"2026-07-22T21:00:26.7990394+00:00","affected":[{"ecosystem":"Go","name":"code.gitea.io/gitea","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.5.0"},{"kind":"fixed","version":"1.26.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/go-gitea/gitea/security/advisories/GHSA-gx3v-q759-g323","https://nvd.nist.gov/vuln/detail/CVE-2026-20779","https://blog.gitea.com/release-of-1.26.3-and-1.26.4","https://github.com/go-gitea/gitea/commit/99f8b3d9a1d32f4c39828e07971455a18191e0b9","https://github.com/go-gitea/gitea/pull/38151","https://github.com/go-gitea/gitea/releases/tag/v1.26.3"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-6057","license":"OSV · upstream source license applies","key":"osv:GO-2026-6057","identifiers":["GO-2026-6057","CVE-2026-20779","GHSA-gx3v-q759-g323"]},"retained":false,"historicalAffected":[]}],"coverage":[]}