7.1

CVE-2026-20779: Gitea TOTP single-use enforcement defect allows OTP replay

Deferred
AliasesGHSA-gx3v-q759-g323GO-2026-6057
Published 03-07-2026Last modified 07-07-2026

Vulnerability summary

CVE-2026-20779 is a high (CVSS 7.1) Authentication Bypass by Capture-replay vulnerability in gitea gitea open source git server. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 43.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
7.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.49%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 03-07-2026
    PublishedVulnerability first disclosed.
  2. 07-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.49%

Chance of exploitation in the next 30 days

Percentile

44%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.49% on 05-11-2026

05-11-202605-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Code.gitea.io1 product
  • gitea≥ 1.5.0, < 1.26.3
Gitea1 product

2 vendors · 2 products

References

8 links