Gitea: TOTP TOCTOU race on web 2FA paths + missing replay check on Basic-Auth `X-Gitea-OTP` surface in code.gitea.io/gitea
Gitea: TOTP TOCTOU race on web 2FA paths + missing replay check on Basic-Auth `X-Gitea-OTP` surface in code.gitea.io/gitea
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-20779US | —OT elevated | — | ||
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 f… | ||||
02
references
External citations — patches, advisories, analysis.
- https://blog.gitea.com/release-of-1.26.3-and-1.26.4WEB
- https://github.com/go-gitea/gitea/commit/99f8b3d9a1d32f4c39828e07971455a18191e0b9WEB
- https://github.com/go-gitea/gitea/pull/38151WEB
- https://github.com/go-gitea/gitea/releases/tag/v1.26.3WEB
- https://github.com/go-gitea/gitea/security/advisories/GHSA-gx3v-q759-g323ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-20779ADVISORY
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan