PT-2026-55587 · Gitea · Gitea

·

CVE-2026-20779

·

Published

2026-07-03

·

Updated

2026-07-30

CVSS v3.1

7.1

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Name of the Vulnerable Software and Affected Versions Gitea versions 1.5.0 through 1.26.2
Description A defect in the Time-based One-Time Password (TOTP) single-use enforcement allows a valid TOTP code to be accepted multiple times. This issue affects web two-factor authentication flows and the Basic Auth X-Gitea-OTP path, potentially allowing an attacker to bypass two-factor authentication.
Recommendations Update Gitea to version 1.26.3 or later.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-20779
GHSA-GX3V-Q759-G323
GO-2026-6057
OPENSUSE-SU-2026:21483-1

Affected Products

Gitea