CVE-2026-20779
Gitea TOTP single-use enforcement defect allows OTP replay
HIGH 7.1
En bref
- Source
- NVD
- EPSS
- EPSS 0.49 % · centile 42 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Gitea
- Statut NVD
- Deferred
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.
Faiblesses (CWE)
- CWE-294 — Contournement d'authentification par capture et rejeu
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N | Gitea |
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N | NVD · 88ee5874-cf24-4952-aea0-31affedb7ff2 (Secondary) |
Avis
- GHSA-gx3v-q759-g323 — Gitea: TOTP TOCTOU race on web 2FA paths + missing replay check on Basic-Auth `X-Gitea-OTP` surface
- GO-2026-6057 — Gitea: TOTP TOCTOU race on web 2FA paths + missing replay check on Basic-Auth `X-Gitea-OTP` surface in code.gitea.io/gitea
Références européennes
- ENISA EUVD · EUVD-2026-41613
- GCVE · GCVE-0-2026-20779
Produits affectés
| Produit | Versions |
|---|---|
| Gitea · Gitea Open Source Git Server | affected 1.5.0 < 1.26.3 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |