{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-123002","assignerOrgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","state":"PUBLISHED","assignerShortName":"Gitea","dateReserved":"2026-11-15T20:29:37.631Z","datePublished":"2026-11-15T21:13:56.636Z","dateUpdated":"2026-11-15T21:13:56.636Z"},"containers":{"cna":{"providerMetadata":{"orgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","shortName":"Gitea","dateUpdated":"2026-11-15T21:13:56.636Z"},"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":[{"lang":"en","type":"CWE","cweId":"CWE-307","description":"CWE-307: Improper Restriction of Excessive Authentication Attempts"}]}],"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"}]}}}