CVE-2026-21622: hexpm · DEPRECATED: Insufficient Session Expiration
Affects hexpmSource CVE Database V5
Not known to be exploited · CVSS 9.5 Critical : upgrade to 2026-03-05 as a priority.
Data as of 20 Nov 2026, 03:36 UTC
Thin evidence
One scorer or none| CNA (EEF) | CVSS 4.0 | 9.5 |
|---|
- CISA SSVC
- Exploitation
- No evidence of active exploitation and no public proof of concept
- Automatable
- Attackers can reliably automate steps 1–4 of the kill chain
- Technical impact
- Total control over the software or total information disclosure
CISA SSVC assessment, 2026-03-10.
- Patch
- Available – fixed in 2026-03-05, bb0e42091995945deef10556f58d046a52eb7884
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:LExploitation evidence
Disclosed: evidence found.
CVE published 5 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.
What to do
Upgrade hexpm and hex.pm to 2026-03-05; hexpm to bb0e42091995945deef10556f58d046a52eb7884.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| hexpmhex.pm | Affected
| Fixed in
|
| hexpmhexpm/hexpm | Affected
| Fixed in
|
Hexhex.pmpkg:hex/hex.pmOther threats | Affected
| Fixed in
|
CPE configurations (1)
cpe:2.3:a:hexpm:hexpm:*:*:*:*:*:*:*:*
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix for this vulnerability is available in hexpm version 2026-03-05 and later. Users and administrators should upgrade to this version to ensure password reset tokens expire properly and prevent account takeover via stale tokens.
Description
CVE-2026-21622 is a critical vulnerability in hexpm's password reset functionality where password reset tokens do not expire. This allows an attacker with access to previously sent reset emails to reset user passwords indefinitely, leading to account takeover. The flaw affects versions from 2025-08-01 up to but not including 2026-03-05. A fix was released on 2026-03-05.
References
- github.com/hexpm/hexpm/security/advisories/GHSA-6r94-pvwf-mxqm (opens in a new tab)
- cna.erlef.org/cves/CVE-2026-21622.html (opens in a new tab)
- osv.dev/vulnerability/EEF-CVE-2026-21622 (opens in a new tab)
- github.com/hexpm/hexpm/commit/617e44c71f1dd9043870205f371d375c5c4d886d (opens in a new tab)
- github.com/hexpm/hexpm/commit/bb0e42091995945deef10556f58d046a52eb7884 (opens in a new tab)