CVE-2026-52809
Medium · 6.8CVSS
6.8
EPSS
0.2%
Published
Jun 24, 2026
CISA due date
—
The record
Gogs is an open source self-hosted Git service. Prior to 0.14.3, password-reset tokens are generated using conf.Auth.ActivateCodeLives (the account-activation lifetime), not conf.Auth.ResetPasswordCodeLives. The token lifetime is baked into the token itself at generation time and is re-extracted from the token at verification time, making RESET_PASSWORD_CODE_LIVES irrelevant to actual enforcement. When an administrator configures a shorter reset window (e.g., 10 minutes) for compliance or security reasons, reset tokens remain exploitable for the full activation lifetime instead, while the reset email falsely advertises the shorter expiry. This vulnerability is fixed in 0.14.3.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-39923 Flarum before 1.8.16 contains a password reset token expiry bypass vulnerability that… CWE-324
- CVE-2026-54787 sigstore-go is a Go library for Sigstore signing and verification. CWE-324
- GHSA-xmxx-7p24-h892 OpenClaw: Gateway HTTP endpoints re-resolve bearer auth after SecretRef rotation CWE-324
- CVE-2025-13723 IBM Sterling Partner Engagement Manager 6.2.3.0 through 6.2.3.5 and 6.2.4.0 through… CWE-324
- CVE-2024-36031 In the Linux kernel, the following vulnerability has been resolved: keys: Fix overwrite… CWE-324
- CVE-2026-55250 Maravel, a PHP framework oriented towards dependency injection, prior to version 10.74.0… CWE-613
- CVE-2026-86215 A vulnerability was identified in Mstfakts College-Management-System. CWE-613
- CVE-2026-55513 nebula-mesh is a self-hosted control plane for Slack Nebula mesh VPN. CWE-613