Bug 2573912 (CVE-2026-123002) - CVE-2026-123002 code.gitea.io/gitea: Gitea: Two-factor authentication bypass via unrestricted TOTP passcode attempts
Summary: CVE-2026-123002 code.gitea.io/gitea: Gitea: Two-factor authentication bypass ...
Keywords:
Status: NEW
Alias: CVE-2026-123002
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-16 21:48 UTC by OSIDB Bzimport
Modified: 2026-11-16 23:56 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-16 21:48:07 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.