UNKNOWN Go
Gitea: TOTP TOCTOU race on web 2FA paths + missing replay check on Basic-Auth `X-Gitea-OTP` surface in code.gitea.io/gitea
GO-2026-6057 · CVE-2026-20779 · GHSA-gx3v-q759-g323
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
Gitea: TOTP TOCTOU race on web 2FA paths + missing replay check on Basic-Auth X-Gitea-OTP surface in code.gitea.io/gitea
References
- ADVISORY https://github.com/go-gitea/gitea/security/advisories/GHSA-gx3v-q759-g323
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-20779
- WEB https://blog.gitea.com/release-of-1.26.3-and-1.26.4
- WEB https://github.com/go-gitea/gitea/commit/99f8b3d9a1d32f4c39828e07971455a18191e0b9
- WEB https://github.com/go-gitea/gitea/pull/38151
- WEB https://github.com/go-gitea/gitea/releases/tag/v1.26.3
Ready to move
Start Securing
Free, no credit card | First findings in minutes