Vulnerabilities

CVE-2026-20779

High 7.1 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-07-03
Last modified
2026-10-25
Assigned by
88ee5874-cf24-4952-aea0-31affedb7ff2
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Scored by
88ee5874-cf24-4952-aea0-31affedb7ff2
Probability of exploitation
0.4 % higher than 33 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Weakness type

  • 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 o…

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1021: Remote Services lateral-movement
  • T1021.002: SMB/Windows Admin Shares lateral-movement
  • T1114.002: Remote Email Collection collection
  • T1133: External Remote Services persistence, initial-access
  • T1134.001: Token Impersonation/Theft stealth, privilege-escalation
  • T1550.002: Pass the Hash lateral-movement
  • T1550.003: Pass the Ticket lateral-movement
  • T1550.004: Web Session Cookie lateral-movement
  • T1557: Adversary-in-the-Middle credential-access, collection
  • T1558: Steal or Forge Kerberos Tickets credential-access
  • T1558.003: Kerberoasting credential-access

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities