CVE-2026-123002
published high CVSS 3.1 · 7.5Gitea missing attempt limit for TOTP passcodes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 0 to < 28.4.0 · Other versions: unaffected | Affected | Not stated | Gitea |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 0 to < 28.4.0 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-307 CWE-307: Improper Restriction of Excessive Authentication Attempts
References
5- Gitea 28.4.0 release announcement https://blog.gitea.com/release-of-28.4.0/
- Fix: go-gitea/gitea pull request #39993 https://github.com/go-gitea/gitea/pull/39993
- Fix backport to release/v28: go-gitea/gitea pull request #40374 https://github.com/go-gitea/gitea/pull/40374
- go-gitea/gitea v28.4.0 release https://github.com/go-gitea/gitea/releases/tag/v28.4.0
- GitHub Security Advisory GHSA-5mx6-8rwm-52wf https://github.com/go-gitea/gitea/security/advisories/GHSA-5mx6-8rwm-52wf
Provider assertions
2Gitea · cna
Gitea missing attempt limit for TOTP passcodes
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c4baf912a8101ea39f9b39f6def7663a01ffa41bd055bf3f3fbbcca5e3187353
- Ingested
- 16 Nov 2026, 21:48:52 UTC
- Source record
- Official CVE record