CVE-2026-21622
Critical · 9.8CVSS
9.8
EPSS
0.4%
Published
Mar 5, 2026
CISA due date
—
The record
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 with program files lib/hexpm/accounts/password_reset.ex and program routines 'Elixir.Hexpm.Accounts.PasswordReset':can_reset?/3. This issue affects hexpm: from 617e44c71f1dd9043870205f371d375c5c4d886d before bb0e42091995945deef10556f58d046a52eb7884.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- 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
- CVE-2026-61608 SolidInvoice is an open-source invoicing platform. CWE-613
- CVE-2026-84480 WWBN AVideo fails to validate password recovery token expiration in… CWE-613
- CVE-2026-84203 Memos versions 0.26.0 through 0.30.0 fail to revoke refresh tokens when a user changes… CWE-613
- CVE-2026-82909 A vulnerability was determined in QuantumNous new-api up to 1.0.0-rc.15. CWE-613
- CVE-2026-82469 Rodauth before 2.47.0 contains an authentication bypass vulnerability in the jwt_refresh… CWE-613