{"id":"CVE-2026-123002","aliases":["CVE-2026-123002"],"related":[],"kind":"vulnerability","state":"published","title":"Gitea missing attempt limit for TOTP passcodes","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-15T21:13:56.636Z","modified":"2026-11-16T22:18:15.297Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-307"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"28.4.0","status":"affected"}],"vendor":"Gitea","product":"Gitea","package":"gitea.dev","source":"cvelist"}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-5mx6-8rwm-52wf","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/go-gitea/gitea/pull/39993","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/go-gitea/gitea/pull/40374","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://blog.gitea.com/release-of-28.4.0/","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.4.0","tags":["release-notes"],"sources":["cvelist","nvd"]}],"credits":["https://github.com/SakusenSec","https://github.com/Pedromdsn","https://github.com/sandiyochristan","https://github.com/glenaster"],"assigner":"Gitea","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-16T21:44:04.401Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-123002","url":"https://www.cve.org/CVERecord?id=CVE-2026-123002","licence":"CVE Terms of Use","modified":"2026-11-16T21:44:08.205Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-123002","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123002","licence":"Public domain","modified":"2026-11-16T22:18:15.297Z"}],"updatedAt":"2026-11-25T22:59:50.837Z","epss":{"score":0.0038,"percentile":0.34066,"date":"2026-12-01T12:00:22.000Z"}}