Live threats

All CVEs / Gogs

CVE-2025-64175Gogs

High 7.7

Priority
46
CVSS 4.0
7.7
EPSS
—
Auth required
Yes
Published
Feb 6, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-287
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gogs.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go gogs.io/gogs ≥ 0.11.19 < 0.13.4 0.13.4 go get gogs.io/gogs@v0.13.4
Go gogs.io/gogs ≥ 0.11.19 no fixed version —

Per OSV / GitHub Advisories (GHSA-p6x6-9mx6-26wj, GO-2026-4449). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gogsgogs< 0.13.4

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.