8.8

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

Analyzed
AliasesGHSA-p6x6-9mx6-26wjGO-2026-4449
Published 06-02-2026Last modified 26-02-2026

Vulnerability summary

CVE-2025-64175 is a high (CVSS 8.8) Improper Authentication vulnerability in gogs. EPSS estimates a 0.47% chance of exploitation in the next 30 days, higher than 40.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.7, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
0.47%
0%100%
Low · -0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 2

Timeline

  1. 06-02-2026
    PublishedVulnerability first disclosed.
  2. 26-02-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.47%

Chance of exploitation in the next 30 days

Percentile

41%

Versus all other CVEs

30-day change

Decrease -0.01 pp

From 0.48% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Gogs1 product
  • gogs< 0.14.0+dev | < 0.13.4
Gogs.io1 product
  • gogs≥ 0.11.19, < 0.13.4 | ≥ 0.11.19 (No fix recorded)

2 vendors · 2 products

References

5 links