1. Accueil
  2. Vulnérabilités
  3. CVE-2026-21622

CVE-2026-21622

Password Reset Tokens Do Not Expire

Publiée le 5 mars 2026 · modifiée le 20 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Moyen 52/100

Résumé

Insufficient Session Expiration vulnerability in hexpm hexpm/hexpm (Hexpm.Accounts.PasswordReset module) allows Account Takeover. Password reset tokens generated via the "Reset your password" flow do not expire. When a user requests a password reset, Hex sends an email containing a reset link with a token. This token remains valid indefinitely until used. There is no time-based expiration enforced. If a user's historical emails are exposed through a data breach (e.g., a leaked mailbox archive), any unused password reset email contained in that dataset could be used by an attacker to reset the victim's password. The attacker does not need current access to the victim's email account, only access to a previously leaked copy of the reset email. This vulnerability is associated with program files lib/hexpm/accounts/password_reset.ex and program routines Hexpm.Accounts.PasswordReset.can_reset?/3. This issue affects hex.pm: from 2025-08-01 before 2026-03-05; hexpm/hexpm: from 617e44c71f1dd9043870205f371d375c5c4d886d before bb0e42091995945deef10556f58d046a52eb7884.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

hexpm (1 ligne(s))
hexpm
ProduitVersionsCorrigé dansSource
hexpm de 2025-08-01 (inclus) à 2026-03-05 (exclu) — CNA (éditeur ou attributeur)
Hex (1 ligne(s))
Hex
ProduitVersionsCorrigé dansSource
Hexpm de 2025-10-01 (inclus) à 2026-03-05 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Contournementsource officielle

Users who suspect email exposure should: * Immediately reset their password. * Enable and enforce 2FA. There is no complete mitigation without implementing token expiration.

Source : CNA (éditeur ou attributeur)

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-613 · Autre (CWE-613)

Comment sont obtenues et calculées ces données