CVE-2026-20779 PUBLISHED

Gitea TOTP single-use enforcement defect allows OTP replay

Assigner: Gitea
Reserved: 03.03.2026 Published: 03.07.2026 Updated: 03.07.2026

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.

Metrics

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

Product Status

Vendor Gitea
Product Gitea Open Source Git Server
Versions Default: unaffected
  • affected from 1.5.0 to 1.26.3 (excl.)

Credits

  • Kript0r3x reporter

References

Problem Types

  • CWE-294 CWE