{"api_version":"1","generated_at":"2026-11-15T23:52:23+00:00","cve":"CVE-2026-123002","urls":{"html":"https://cve.report/CVE-2026-123002","api":"https://cve.report/api/cve/CVE-2026-123002.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-123002","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-123002"},"summary":{"title":"Gitea missing attempt limit for TOTP passcodes","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.","state":"PUBLISHED","assigner":"Gitea","published_at":"2026-11-15 22:17:18","updated_at":"2026-11-15 22:17:18"},"problem_types":["CWE-307","CWE-307 CWE-307: Improper Restriction of Excessive Authentication Attempts"],"metrics":[],"references":[{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.4.0","name":"https://github.com/go-gitea/gitea/releases/tag/v28.4.0","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/go-gitea/gitea/pull/40374","name":"https://github.com/go-gitea/gitea/pull/40374","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://blog.gitea.com/release-of-28.4.0/","name":"https://blog.gitea.com/release-of-28.4.0/","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-5mx6-8rwm-52wf","name":"https://github.com/go-gitea/gitea/security/advisories/GHSA-5mx6-8rwm-52wf","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/go-gitea/gitea/pull/39993","name":"https://github.com/go-gitea/gitea/pull/39993","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-123002","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123002","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Gitea","product":"Gitea","version":"affected 28.4.0 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"https://github.com/SakusenSec","lang":"en"},{"source":"CNA","value":"https://github.com/Pedromdsn","lang":"en"},{"source":"CNA","value":"https://github.com/sandiyochristan","lang":"en"},{"source":"CNA","value":"https://github.com/glenaster","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","packageName":"gitea.dev","product":"Gitea","vendor":"Gitea","versions":[{"lessThan":"28.4.0","status":"affected","version":"0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"reporter","value":"https://github.com/SakusenSec"},{"lang":"en","type":"reporter","value":"https://github.com/Pedromdsn"},{"lang":"en","type":"reporter","value":"https://github.com/sandiyochristan"},{"lang":"en","type":"reporter","value":"https://github.com/glenaster"}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-307","description":"CWE-307: Improper Restriction of Excessive Authentication Attempts","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-15T21:13:56.636Z","orgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","shortName":"Gitea"},"references":[{"name":"GitHub Security Advisory GHSA-5mx6-8rwm-52wf","tags":["vendor-advisory"],"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-5mx6-8rwm-52wf"},{"name":"Fix: go-gitea/gitea pull request #39993","tags":["patch"],"url":"https://github.com/go-gitea/gitea/pull/39993"},{"name":"Fix backport to release/v28: go-gitea/gitea pull request #40374","tags":["patch"],"url":"https://github.com/go-gitea/gitea/pull/40374"},{"name":"Gitea 28.4.0 release announcement","tags":["release-notes"],"url":"https://blog.gitea.com/release-of-28.4.0/"},{"name":"go-gitea/gitea v28.4.0 release","tags":["release-notes"],"url":"https://github.com/go-gitea/gitea/releases/tag/v28.4.0"}],"title":"Gitea missing attempt limit for TOTP passcodes"}},"cveMetadata":{"assignerOrgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","assignerShortName":"Gitea","cveId":"CVE-2026-123002","datePublished":"2026-11-15T21:13:56.636Z","dateReserved":"2026-11-15T20:29:37.631Z","dateUpdated":"2026-11-15T21:13:56.636Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-15 22:17:18","lastModifiedDate":"2026-11-15 22:17:18","problem_types":["CWE-307","CWE-307 CWE-307: Improper Restriction of Excessive Authentication Attempts"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"123002","Ordinal":"1","Title":"Gitea missing attempt limit for TOTP passcodes","CVE":"CVE-2026-123002","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"123002","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Gitea missing attempt limit for TOTP passcodes"}]}}}