Skip to content
OpenAdvisories
High · 7.1 CVE-2026-20779 EUVD-2026-41613GHSA-gx3v-q759-g323GO-2026-6057

Gitea TOTP single-use enforcement defect allows OTP replay

Published Jul 3, 2026 · Updated Jul 7, 2026 · Assigned by Gitea

Description

Gitea versions from 1.5.0 before 1.26.3 have a TOTP single-use enforcement defect that allows a valid TOTP code to be accepted more than once across web two-factor authentication flows and the Basic Auth X-Gitea-OTP path.

Affected products

VendorProductAffectedFixed
Gitea Gitea Open Source Git Server 1.5.0 – < 1.26.3 1.26.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go code.gitea.io/gitea >= 1.5.0, < 1.26.3 1.26.3 GHSA-gx3v-q759-g323

Advisories 2

References