{"id":"CVE-2026-123002","state":"PUBLISHED","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.","publishedAt":"2026-11-15T21:13:56.636Z","updatedAt":"2026-11-16T21:44:08.205Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"Gitea","products":["Gitea Gitea"],"affected":[{"vendor":"Gitea","product":"Gitea","packageName":"gitea.dev","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"28.4.0","versionType":"semver"}]}],"references":["https://github.com/go-gitea/gitea/security/advisories/GHSA-5mx6-8rwm-52wf","https://github.com/go-gitea/gitea/pull/39993","https://github.com/go-gitea/gitea/pull/40374","https://blog.gitea.com/release-of-28.4.0/","https://github.com/go-gitea/gitea/releases/tag/v28.4.0"],"weaknesses":["CWE-307"],"ingestedAt":"2026-11-16T21:46:06.068Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/123xxx/CVE-2026-123002.json","commit":"5e198cbe905d33b845c31d5bc39d8290ba1ab9cd","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-123002","state":"PUBLISHED","datePublished":"2026-11-15T21:13:56.636Z","dateUpdated":"2026-11-16T21:44:08.205Z","assignerShortName":"Gitea","assignerOrgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","dateReserved":"2026-11-15T20:29:37.631Z"},"containers":{"cna":{"title":"Gitea missing attempt limit for TOTP passcodes","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."}],"affected":[{"vendor":"Gitea","product":"Gitea","packageName":"gitea.dev","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"28.4.0","versionType":"semver"}]}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-5mx6-8rwm-52wf","name":"GitHub Security Advisory GHSA-5mx6-8rwm-52wf","tags":["vendor-advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/39993","name":"Fix: go-gitea/gitea pull request #39993","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/pull/40374","name":"Fix backport to release/v28: go-gitea/gitea pull request #40374","tags":["patch"]},{"url":"https://blog.gitea.com/release-of-28.4.0/","name":"Gitea 28.4.0 release announcement","tags":["release-notes"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.4.0","name":"go-gitea/gitea v28.4.0 release","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-307","lang":"en","type":"CWE","description":"CWE-307: Improper Restriction of Excessive Authentication Attempts"}]}],"providerMetadata":{"shortName":"Gitea","orgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","dateUpdated":"2026-11-15T21:13:56.636Z"},"credits":[{"lang":"en","value":"https://github.com/SakusenSec","type":"reporter"},{"lang":"en","value":"https://github.com/Pedromdsn","type":"reporter"},{"lang":"en","value":"https://github.com/sandiyochristan","type":"reporter"},{"lang":"en","value":"https://github.com/glenaster","type":"reporter"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"HIGH","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-11-16T21:44:04.401877Z","id":"CVE-2026-123002","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-16T21:44:08.205Z"}}]}}}