CVE-2026-20779

High

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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductCode.gitea.io/gitea
PublishedJul 3, 2026
First seenJul 3, 2026
Weakness typeCWE-294CWE-294

How to fix

Affected products

ProductAffected versionsFixed in
code.gitea.io/giteaGo1.5.0 ≤ v < 1.26.31.26.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.