> CVE-2026-52809 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-06-24 21:16
MODIFIED
2026-06-24 21:16
CVSS_SCORE V3
6.8
EPSS (Prob. Exploit)
0.20%
Top 89.9%
DATA SOURCES:
NVD 🔗 2026-06-24 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-11-01 GITHUB 🔗 2026-11-05 OSV 🔗 2026-11-02

> DESCRIPTION

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_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
EXPLOITABILITY
1.6
IMPACT
5.2

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-324 CWE-613

> CWE DETAILED DESCRIPTIONS

CWE-324: Use of a Key Past its Expiration Date - The product uses a cryptographic key past its expiration date. | CWE-613: DEPRECATED: Insufficient Session Expiration - This entry has been deprecated because it was insufficiently clear. Consider CWE-1462 and its descendants.

> GITHUB SECURITY ADVISORY

GHSA-5c3f-6486-3g7g MODERATE

Gogs's password-reset tokens use account-activation lifetime, ignoring RESET_PASSWORD_CODE_LIVES

AFFECTED PACKAGES:
GO / gogs.io/gogs
< 0.14.3
Fixed in: 0.14.3

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Gogs: Password-reset tokens use account-activation lifetime, ignoring RESET_PASSWORD_CODE_LIVES

AFFECTED PACKAGES:
Unknown / Unknown
59 versions affected
ALIASES:
GHSA-5c3f-6486-3g7g, GO-2026-5140

> HISTORIQUE DES MODIFICATIONS

Première apparition
24/06/2026 21:16
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-324: Use of a Key Past its Expiration Date - The product uses a cryptographic key or password past its expiration date, which diminishes its safety significantly by increasing the timing window fo...
Nouvelle valeur:
CWE-324: Use of a Key Past its Expiration Date - The product uses a cryptographic key past its expiration date. | CWE-613: DEPRECATED: Insufficient Session Expiration - This entry has been deprecated ...
📊 ENRICHISSEMENT 01/07/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-324: Use of a Key Past its Expiration Date - The product uses a cryptographic key or password past its expiration date, which diminishes its safety significantly by increasing the timing window fo...
Total des modifications: 2 Dernière mise à jour: 5 days ago

> REFERENCES

https://github.com/gogs/gogs/releases/tag/v0.14.3
https://github.com/gogs/gogs/security/advisories/GHSA-5c3f-6486-3g7g
« BACK_TO_HOME