Vulnerabilities · 2021 · Gitea
CVE-2021-45331
Gitea vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Gitea. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gitea runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Gitea products
CVE-2026-20912CVE-2026-20904CVE-2026-20897CVE-2026-20888CVE-2026-20883CVE-2026-20800CVE-2026-20750CVE-2026-20736All 52
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.