cvedb.io
CVE-2026-21622
CRITICAL · CVSS 9.8
EPSS exploitation probability: 0%
Published 2026-03-05T22:16:12.963 · Last modified 2026-06-17T10:18:49.420

Summary

Insufficient Session Expiration vulnerability in hexpm hexpm/hexpm ('Elixir.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 wit

Affected products

hex — hexpm

Does this affect you?

Add your gear to cvedb and we'll alert you only when hex ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.