# CVE-2026-123002: Gitea missing attempt limit for TOTP passcodes

- Priority: **Routine**
- Reason: Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-15 · Modified: 2026-11-16
- Record: https://cvemate.com/vulnerability/CVE-2026-123002 · JSON: https://cvemate.com/vulnerability/CVE-2026-123002/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.38%, percentile 34.059%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- gitea gitea: \< 28.4.0

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-5mx6-8rwm-52wf>
- <https://github.com/go-gitea/gitea/pull/39993>
- <https://github.com/go-gitea/gitea/pull/40374>
- <https://blog.gitea.com/release-of-28.4.0/>
- <https://github.com/go-gitea/gitea/releases/tag/v28.4.0>

---

Data as of 2026-12-05T14:33:01.245Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
