CVE-2026-123002
Last modified
CVE-2026-123002 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | < 28.4.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-123002?
How severe is CVE-2026-123002?
How do I fix CVE-2026-123002?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-122987Missing authentication for critical function in Microsoft Hi…5.9
- CVE-2026-122988Improper authorization in Windows Admin Center allows an aut…8
- CVE-2026-12299JIT miscompilation in the DOM: Core & HTML component. This v…5.4
- CVE-2026-122992In G4KLX DStarGateway and F4FXL DStarGateway before 7b75de6,…9.2
- CVE-2026-1230GitLab has remediated an issue in GitLab CE/EE affecting all…6.5
- CVE-2026-12300Memory safety bug fixed in Thunderbird 152. This vulnerabili…5.3
- CVE-2026-123006The repository search used by the dashboard (`GET /repo/sear…
- CVE-2026-123009When a file is edited in a fork through the web editor, Gite…4.3
- CVE-2026-12301Memory safety bug fixed in Thunderbird 152. This vulnerabili…5.3
- CVE-2026-123010@twilio-labs/netlify-okta-auth through 1.0.2 relies on an un…7.2
- CVE-2026-123011STMicroelectronics st-mems-android-linux-sensors-hal before …4.2
- CVE-2026-123012In Gogs 0.14.3, the Git Smart HTTP authorization layer in in…7.1
Are you affected by CVE-2026-123002?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
