Bookmarks

    Nothing saved yet. Use the bookmark on any article. Bookmarks are kept on this device only: they stay private and work without an account.

    Settings

    Appearance

    Reading mode

    Font size

    Content width

    Line spacing

    Keyboard shortcuts

    /
    Search
    j k
    Next / previous story
    ← →
    Previous / next section (columns)
    b
    Bookmarks
    s
    Settings
    r
    Columns / scroll
    t
    Light / dark

    Saved in this browser only.

    Ping2Prompt
    Subscribe to the Weekly Brief Sign in
    A small padlock hanging from a metal hasp lying on a textured diamond-plate metal surface, with a second hasp beside it.

    Gitea fixes unlimited TOTP guessing that weakens two-factor sign-in (CVE-2026-123002)

    Gitea

    What's fixed

    Gitea did not cap wrong two-factor (TOTP) codes at sign-in, in the password reset flow, or for Basic authentication using the X-Gitea-OTP header. An attacker who already knows an account's password could try six-digit codes rapidly until one worked, defeating two-factor protection. The CVE is rated 7.5 (CVSS 3.1, HIGH); the NVD record is marked Deferred.

    The fix refuses further attempts on the account for 15 minutes after five failed codes. The record points to Gitea release v28.4.0 and advisory GHSA-5mx6-8rwm-52wf, but does not explicitly name the fixed version or the affected range. It also gives no exploitation status and no workaround.

    What to do

    If you run Gitea with two-factor enabled, update to the release referenced in the advisory (v28.4.0) and confirm the fix in the advisory GHSA-5mx6-8rwm-52wf.

    Product Affected Fixed
    Gitea Not stated in the record v28.4.0 (referenced by the record, not explicitly stated as the fix)

    Sources


    This story was produced with AI assistance from the sources listed above and fact-checked against them before publication. Read our editorial methodology and the corrections log. Spotted an error? Email [email protected].

    Continue

    Share on Bluesky · Mastodon · Email ·

    Discussion