Gogs is an open source self-hosted Git service. Prior to 0.14.3, password-reset tokens are generated using…
Historical advisory recorded 4 Nov 2026 16:56:00 UTC. Read the latest advisory.
nvd · CVE-2026-52809
PublishedGogs 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-52809
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Deferred
Weakness classifications: CWE-324 · CWE-613
Original publisher date fields
published: 2026-06-24T21:16:56.827
lastModified: 2026-11-03T23:17:47.677
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON