All vulnerabilities

Servers and applications

CVE-2026-123002

Gitea missing attempt limit for TOTP passcodes

Severity
High 7.5
Published
15 Nov 2026
Last changed
16 Nov 2026
Added to UpHeron
15 Nov 2026
Fixed in
28.4.0
Exploit chance
0.3% in the next 30 daysHigher than 24% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
No limit on authentication attempts (CWE-307)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Sources
CVE Program

Description

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.

From the CVE Program.

Affected software

SoftwareAffected versions
GiteaServers and applications · cna:gitea|gitea
  • Every version before 28.4.0

About Gitea

free forge based on git written in Go

From Wikidata, CC0 1.0.
Docker Hub pulls
395,154,663Docker Hub, 15 Nov 2026
GitHub stars
59,090GitHub, 15 Nov 2026
Forks
7,394GitHub, 15 Nov 2026
Latest release
v28.3.0GitHub, 15 Nov 2026
Released
1 Nov 2026GitHub
Developer
Jiahua ChenWikidata
License
MIT LicenseWikidata
Written in
Go, JavaScriptWikidata
First released
17 Oct 2016Wikidata
First published on GitHub
1 Nov 2016GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-123002