Home

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.

PUBLISHED Reserved 2026-03-03 | Published 2026-07-03 | Updated 2026-07-07 | Assigner Gitea




HIGH: 7.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N

Problem types

CWE-294

Product status

Default status
unaffected

1.5.0 (semver) before 1.26.3
affected

Credits

Kript0r3x reporter

References

github.com/.../gitea/security/advisories/GHSA-gx3v-q759-g323 exploit

github.com/.../gitea/security/advisories/GHSA-gx3v-q759-g323 (GitHub Security Advisory) vendor-advisory

github.com/go-gitea/gitea/pull/38151 (GitHub Pull Request #38151) patch

github.com/go-gitea/gitea/releases/tag/v1.26.3 (Gitea v1.26.3 Release) release-notes

blog.gitea.com/release-of-1.26.3-and-1.26.4/ (Gitea v1.26.4 Release Blog Post) release-notes

cve.org (CVE-2026-20779)

nvd.nist.gov (CVE-2026-20779)

Download JSON