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.
Problem types
Product status
1.5.0 (semver) before 1.26.3
Credits
Kript0r3x
References
github.com/.../gitea/security/advisories/GHSA-gx3v-q759-g323
github.com/.../gitea/security/advisories/GHSA-gx3v-q759-g323 (GitHub Security Advisory)
github.com/go-gitea/gitea/pull/38151 (GitHub Pull Request #38151)
github.com/go-gitea/gitea/releases/tag/v1.26.3 (Gitea v1.26.3 Release)
blog.gitea.com/release-of-1.26.3-and-1.26.4/ (Gitea v1.26.4 Release Blog Post)