CVE-2026-123002Gitea Vulnerability
Gitea missing attempt limit for TOTP passcodes
Published Nov 15, 2026 · Updated Nov 16, 2026 · Also known as EUVD-2026-126121, GHSA-5mx6-8rwm-52wf
The full analysis for this CVE is not ready yet, so this page shows the scores and scope from the public record. How CVEs are selected
Key Facts
Routine patching- CVE-2026-123002 is a vulnerability affecting gitea.dev, Gitea.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 0.2% probability of exploitation in the next 30 days.
- Fixed versions are available, including Gitea 28.4.0, gitea.dev 28.4.0.
- Brandefense priority: routine patching, as no exploitation is known and no severity score has been published yet.
Scores
CVSS
n/a
EPSS (30-day exploit likelihood)
0.2%
Higher than 8.9% of all scored CVEs
Exploit maturity
None known
ATLAS score
n/a
Outside the curated set
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.
Affected Products
2 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| gitea.dev | See advisory | 28.4.0 |
| Gitea | See advisory | 28.4.0 |
Patched Releases
Gitea
28.4.0
gitea.dev
28.4.0
Timeline
Publicly disclosed
Nov 15, 2026
Last updated
Nov 16, 2026
Weakness Type
- CWE-307 Improper Restriction of Excessive Authentication Attempts
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2026-123002
- advisoryGitHub Security Advisory GHSA-5mx6-8rwm-52wf
- patchFix: go-gitea/gitea pull request #39993
- patchFix backport to release/v28: go-gitea/gitea pull request #40374
FAQ
Common Questions.
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.
Affected: gitea.dev; Gitea. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Gitea 28.4.0, gitea.dev 28.4.0.
Brandefense priority: routine patching, as no exploitation is known and no severity score has been published yet.
Is CVE-2026-123002 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo