{"vuln_id":"CVE-2026-123002","aliases":["GHSA-5mx6-8rwm-52wf"],"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.","published_at":"2026-11-15T22:17:18.050000Z","modified_at":"2026-11-16T22:18:15.297000Z","first_seen_at":"2026-11-21T19:15:48.954250Z","severity":"high","severity_source":"nvd","cvss_score":7.5,"cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-307"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.0038,"epss_percentile":0.32679,"nvd_status":"Deferred","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-123002"},"matched_alias":null,"items":[{"id":5963,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-123002: 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` heade…","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.\n\nReferences:\nhttps://blog.gitea.com/release-of-28.4.0/\nhttps://github.com/go-gitea/gitea/pull/39993\nhttps://github.com/go-gitea/gitea/pull/40374\nhttps://github.com/go-gitea/gitea/releases/tag/v28.4.0\nhttps://github.com/go-gitea/gitea/security/advisories/GHSA-5mx6-8rwm-52wf","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123002","published_at":"2026-11-15T22:17:18.050000Z","updated_at":"2026-11-16T22:18:15.297000Z","fetched_at":"2026-11-21T19:15:31.481542Z","severity":"high","cvss_score":7.5,"epss":0.0038,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-123002","vuln_ids":["CVE-2026-123002","GHSA-5MX6-8RWM-52WF"],"tags":["CWE-307"],"cluster_id":6551,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/5963","html":"https://vulnwatch.ve1ve2.com/item/5963"}}]}