CVE-2026-123002 json
Gitea missing attempt limit for TOTP passcodes
published 2d ago modified yesterday also EUVD-2026-126121 , GHSA-5mx6-8rwm-52wf
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository go-gitea/gitea. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 24%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go gitea.dev 28.4.0
- Gitea Gitea 28.4.0
- github.com/go-gitea/gitea#39993 pull request
- github.com/go-gitea/gitea#40374 pull request
- github.com/go-gitea/gitea/releases/tag/v28.4.0 release
Is CVE-2026-123002 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- yesterday
Exploit prediction
0.31% chance of exploitation in the next 30 days, higher than 24% of all scored CVEs (FIRST EPSS, 2026-11-17).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | gitea.dev | <=28.3.0 |
28.4.0 |
Affected products
- Gitea Gitea
Classification
- Weakness
-
- CWE-307 Improper Restriction of Excessive Authentication Attempts
- Technology feeds
References
-
github.com
/go-gitea/gitea/pull/39993
patch
-
github.com
/go-gitea/gitea/pull/40374
patch
-
github.com
/go-gitea/gitea/security/advisories/GHSA-5mx6-8rwm-52wf
vendor-advisory, advisory
-
blog.gitea.com
/release-of-28.4.0/
release-notes
-
github.com
/go-gitea/gitea/releases/tag/v28.4.0
release-notes
Sources
- CVE List CVE-2026-123002
- NVD CVE-2026-123002
- Maintainer advisory GHSA-5mx6-8rwm-52wf
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of go-gitea/gitea published their own advisory on GitHub. Reviewed sources take precedence over it.