> CVE-2026-20779 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-07-03 21:16
MODIFIED
2026-07-03 21:16
CVSS_SCORE V3
7.1
EPSS (Prob. Exploit)
0.49%
Top 57.7%
DATA SOURCES:
NVD đź”— 2026-07-03 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-11-01 GITHUB đź”— 2026-11-05 OSV đź”— 2026-11-02

> 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

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
EXPLOITABILITY
2.8
IMPACT
4.2

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-294

> CWE DETAILED DESCRIPTIONS

CWE-294: Authentication Bypass by Capture-replay - A capture-replay flaw exists when the design of the product makes it possible for a malicious user to sniff network traffic and bypass authentication by replaying it to the server in question to the same effect as the original message (or with minor changes).

> GITHUB SECURITY ADVISORY

GHSA-gx3v-q759-g323 HIGH

Gitea: TOTP TOCTOU race on web 2FA paths + missing replay check on Basic-Auth `X-Gitea-OTP` surface

AFFECTED PACKAGES:
GO / code.gitea.io/gitea
>= 1.5.0, < 1.26.3
Fixed in: 1.26.3

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Gitea TOTP single-use enforcement defect allows OTP replay

AFFECTED PACKAGES:
Unknown / Unknown
40 versions affected
ALIASES:
GHSA-gx3v-q759-g323, GO-2026-6057

> HISTORIQUE DES MODIFICATIONS

Première apparition
03/07/2026 21:16
Source: NVD
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-294: Authentication Bypass by Capture-replay - A capture-replay flaw exists when the design of the product makes it possible for a malicious user to sniff network traffic and bypass authentication...
Total des modifications: 1 Dernière mise à jour: 3 months ago

> REFERENCES

https://blog.gitea.com/release-of-1.26.3-and-1.26.4/
https://github.com/go-gitea/gitea/pull/38151
https://github.com/go-gitea/gitea/releases/tag/v1.26.3
https://github.com/go-gitea/gitea/security/advisories/GHSA-gx3v-q759-g323
« BACK_TO_HOME