CVE-2026-123002

published 15 Nov 2026 · updated 16 Nov 2026

Gitea missing attempt limit for TOTP passcodes

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Gitea 28.4.0.

Gitea accepted an unlimited number of wrong TOTP passcodes during sign-in, in the password reset flow and for Basic authentication with the `X-Gitea-OTP` header. An attacker who already knows an account's password could guess the six-digit passcode by trying codes at a high rate and sign in despite two-factor authentication. After five failed passcodes, further attempts for the account are now refused for 15 minutes.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GiteaGitea<28.4.028.4.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Gitea, strongest first

10.0CriticalCISA KEVPublic exploit

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-123002 severity on Zeptric[![CVE-2026-123002](https://zeptric.io/badge/cve/CVE-2026-123002.svg)](https://zeptric.io/cve/CVE-2026-123002)