CVE Explorer
CVE-2025-64175
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"gogs","vendor":"gogs","versions":[{"status":"affected","version":"< 0.14.0+dev"},{"status":"affected","version":"< 0.13.4"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:3cf252bef410674d0b0d233a81234bd56cde8c924a634af5c82bb20767617edc · sha256:d28f8c97cab8e153… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":7.7,"baseSeverity":"HIGH","privilegesRequired":"LOW","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:3cf252bef410674d0b0d233a81234bd56cde8c924a634af5c82bb20767617edc · sha256:d28f8c97cab8e153… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-287","description":"CWE-287: Improper Authentication","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:3cf252bef410674d0b0d233a81234bd56cde8c924a634af5c82bb20767617edc · sha256:d28f8c97cab8e153… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/gogs/gogs/security/advisories/GHSA-p6x6-9mx6-26wj","tags":["x_refsource_CONFIRM"],"url":"https://github.com/gogs/gogs/security/advisories/GHSA-p6x6-9mx6-26wj"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3cf252bef410674d0b0d233a81234bd56cde8c924a634af5c82bb20767617edc · sha256:d28f8c97cab8e153… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/gogs/gogs/security/advisories/GHSA-p6x6-9mx6-26wj"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3cf252bef410674d0b0d233a81234bd56cde8c924a634af5c82bb20767617edc · sha256:d28f8c97cab8e153… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.