CVE-2025-64175: Gogs is an open source self-hosted Git service
CVE-2025-64175 is a high-severity flaw (CVSS 8.8) affecting gogs. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 p
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 59%) |
| CISA exploited list | No |
| Weakness | CWE-287 |
| Published | 2026-02-06 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-64175?
gogs: upgrade to 0.13.4. Exact commands for each OS are on this page.
Is CVE-2025-64175 being exploited?
CVE-2025-64175 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-64175 affect?
CVE-2025-64175 affects gogs. Severity is high (CVSS 8.8). 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
How urgent is CVE-2025-64175?
Priority 41/100. High severity
Software pages
Related CVEs
- CVE-2025-8110 HIGH 8.8 EXPLOITED UPGRADE Gogs Path Traversal Vulnerability
- CVE-2026-26276 HIGH 7.3 UPGRADE Gogs is an open source self-hosted Git service
- CVE-2026-26196 MEDIUM 5.3 UPGRADE Gogs is an open source self-hosted Git service
- CVE-2026-26195 MEDIUM 6.1 UPGRADE Gogs is an open source self-hosted Git service
- CVE-2026-26194 HIGH 7.3 UPGRADE Gogs is an open source self-hosted Git service