Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
Gitea Gitea Open Source Git Server
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Gitea是Gitea组织开源的一个基于Go开发的轻量型git服务。 Gitea 1.5.0版本至1.26.3之前版本存在授权问题漏洞,该漏洞源于一次性密码(TOTP)单次使用强制缺陷,可能导致有效TOTP代码在网络双因素身份验证流程和Basic Auth X-Gitea-OTP路径中被重复接受。

CVSS 7.1 · High EPSS 0.48% · P39

Possible ATT&CK Techniques 1 AI

T1078 · Valid Accounts

Affected Version Matrix 1

VendorProduct Version RangeStatus
Gitea Gitea Open Source Git Server 1.5.0< 1.26.3 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-20779

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Gitea TOTP single-use enforcement defect allows OTP replay
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
使用捕获-重放进行的认证绕过
Source: CVE Program / CVE List V5
Vulnerability Title
Gitea 授权问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Gitea是Gitea组织开源的一个基于Go开发的轻量型git服务。 Gitea 1.5.0版本至1.26.3之前版本存在授权问题漏洞,该漏洞源于一次性密码(TOTP)单次使用强制缺陷,可能导致有效TOTP代码在网络双因素身份验证流程和Basic Auth X-Gitea-OTP路径中被重复接受。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Gitea Gitea Open Source Git Server 1.5.0 ~ 1.26.3 -

II. Public POCs for CVE-2026-20779

# POC Description Source Link Shenlong Link
AI-Generated POC Verified env Premium
Qwen3.6-35B-A3B · 6047 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-20779

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-20779 (1)

Vendor Advisories for CVE-2026-20779 (1)

Security Blog Posts for CVE-2026-20779 (1)

Vendor Pages for CVE-2026-20779 (1)

Same Patch Batch · Gitea · 2026-07-03 · 40 CVEs total

CVE-2026-20896 9.8 CRITICAL Gitea Docker image trusts spoofable reverse-proxy headers by default
CVE-2026-58426 9.6 CRITICAL Gitea Actions Artifacts V4 signed URL HMAC ambiguity allows cross-repository artifact read
CVE-2026-22874 9.6 CRITICAL Gitea webhook and migration allow-list filtering permits SSRF
CVE-2026-58424 8.9 HIGH Permanent Fork PR Workflow Approval Gate Bypass
CVE-2026-28737 8.7 HIGH Gitea 3D file viewer allows stored XSS through glTF extensionsRequired
CVE-2026-26231 8.5 HIGH Gitea maintainer-edit permissions allow unauthorized commits to readable repositories
CVE-2026-28699 8.1 HIGH Gitea Basic Auth bypasses OAuth2 access token scopes
CVE-2026-28744 8.1 HIGH Gitea Git smart HTTP bypasses repository token scopes for bearer tokens
CVE-2026-22555 8.1 HIGH Gitea organization forks can expose organization secrets without create permission
CVE-2026-58423 7.7 HIGH LFS authentication bypass via malformed SSH sub-verb allows unauthorized read access to pr
CVE-2026-28740 7.1 HIGH Gitea LFS object reuse bypasses Code-unit authorization
CVE-2026-58418 6.5 MEDIUM SSRF via HTTP Redirect in Repository Migration
CVE-2026-27783 4.3 MEDIUM Gitea issue-template APIs bypass repository unit authorization
CVE-2026-27761 4.3 MEDIUM Gitea repository feeds bypass API token scope enforcement
CVE-2026-25714 4.3 MEDIUM Gitea user organization API bypasses public-only token filtering
CVE-2026-20706 Gitea repository archive downloads bypass token scope checks
CVE-2026-20909 Gitea tracked-time list endpoint has insufficient permission checks
CVE-2026-58421 Unauthenticated ReDoS via CODEOWNERS pattern matching allows denial of service
CVE-2026-58419 Notification API leaks private issue metadata after access revocation
CVE-2026-28705 Gitea repository dumps write release assets using unsafe path names

Showing top 20 of 40 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2026-20779

No comments yet


Leave a comment