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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-64175— Gogs Vulnerable to 2FA Bypass via Recovery Code

EPSS 0.02% · P6
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-64175

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
Gogs Vulnerable to 2FA Bypass via Recovery Code
Source: NVD (National Vulnerability Database)
Vulnerability Description
Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, Gogs’ 2FA recovery code validation does not scope codes by user, enabling cross-account bypass. If an attacker knows a victim’s username and password, they can use any unused recovery code (e.g., from their own account) to bypass the victim’s 2FA. This enables full account takeover and renders 2FA ineffective in all environments where it's enabled.. This issue has been patched in versions 0.13.4 and 0.14.0+dev.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
认证机制不恰当
Source: NVD (National Vulnerability Database)
Vulnerability Title
Gogs 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Gogs(Go Git Service)是Gogs团队的一个基于Go语言的自助Git托管服务,它支持创建、迁移公开/私有仓库,添加、删除仓库协作者等。 Gogs 0.13.3及之前版本存在安全漏洞,该漏洞源于双因素认证恢复代码验证未按用户划分代码范围,可能导致跨账户绕过,从而完全接管账户。
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

VendorProductAffected VersionsCPESubscribe
gogsgogs < 0.14.0+dev -

II. Public POCs for CVE-2025-64175

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-64175

登录查看更多情报信息。

Same Patch Batch · gogs · 2026-02-06 · 6 CVEs total

CVE-2026-225926.5 MEDIUMGogs is Vulnerable to Denial of Service
CVE-2026-236336.5 MEDIUMGogs has arbitrary file read/write via path traversal in Git hook editing
CVE-2026-236326.5 MEDIUMGogs user can update repository content with read-only permission
CVE-2026-24135Gogs vulnerable to arbitrary file deletion via path traversal in wiki page update
CVE-2025-64111Gogs's update .git/config file allows remote command execution

IV. Related Vulnerabilities

V. Comments for CVE-2025-64175

No comments yet


Leave a comment