{"id":"CVE-2021-45331","aliases":["BIT-gitea-2021-45331","GHSA-hfmf-q69j-6m5p","GO-2022-0315"],"url":"https://o3.security/vulnerability/CVE-2021-45331","summary":"Reuse of one time passwords allowed in Gitea","details":"An Authentication Bypass vulnerability exists in Gitea before 1.5.0, which could let a malicious user gain privileges. If captured, the TOTP code for the 2FA can be submitted correctly more than once.","published":"2022-02-09T18:15:10.013Z","modified":"2026-08-07T19:47:09.803807Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.01423,"percentile":0.70441,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"code.gitea.io/gitea","fixedVersion":"1.5.0"}],"fix":{"url":"https://github.com/go-gitea/gitea/pull/3878","label":"go-gitea/gitea#3878"},"references":[{"type":"ADVISORY","url":"https://blog.gitea.io/2018/08/gitea-1.5.0-is-released/"},{"type":"FIX","url":"https://github.com/go-gitea/gitea/pull/3878"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T19:47:09.803807Z"}}