Home / hexpm / hexpm / CVE-2026-86698
CVE-2026-86698: is it exploited, and which versions of hexpm are affected and fixed?
CVE-2026-86698 is an improper Session Management vulnerability in hexpm. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: hexpm from 2025-10-10 before 2026-09-22 (CVE record by EEF). Fixed in 2026-09-22 (CVE record by EEF). Severity: Low (2.3, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 20, 2026, 06:15 UTC and NVD November 20, 2026, 07:04 UTC.
What is CVE-2026-86698?
Refresh tokens accepted as private repository credentials at the CDN
Insufficient Session Expiration vulnerability in OAuth token issuance in hexpm hexpm allows a user whose organization membership or session has ended to keep reading the organization's private packages and their documentation tarballs via a retained refresh token. generate_refresh_token/4 in lib/hexpm/oauth/jwt.ex signs the refresh token with the same iss, aud and scope claims as the access token, so it carries the same repository:<org> scopes. The CDN service that serves private repositories verifies the signature and time claims and then authorizes from the scope claim, with no database lookup and no way to tell the two token kinds apart. Removing a member or revoking a session therefore takes effect at the CDN only when the 30 day refresh token expires, instead of after the 30 minute access token lifetime. Access is read-only and limited to organizations the account belonged to when the token was granted. This issue affects hex.pm: from 2025-10-10 before 2026-09-22; hexpm/hexpm: from 650faa03af511e74c1b3b49ec12d35666b6984c4 before db58cf3a86c7639708ef52ff86de0b4f938e6360.
From the CVE record by EEF, last updated November 20, 2026, 06:02 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| hexpm | hexpm hex.pm | from 2025-10-10 before 2026-09-22 | 2026-09-22 |
| hexpm | hexpm hexpm/hexpm | not stated |
As the CVE record by EEF states it, last updated November 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-86698?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.3 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N | EEF |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-86698 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, September 22, 2026)
- EPSS
- 0.40% probability of exploitation activity in the next 30 days, percentile 36.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-1462 Improper Session Management
Where are the vendor advisories and references?
- Refresh tokens are accepted as private repository credentials at the CDN vendor-advisory, related
- EEF CNA record for CVE-2026-86698 related
- OSV record EEF-CVE-2026-86698 related
- Introducing commit 650faa0 in hexpm/hexpm related
- Fix commit db58cf3 in hexpm/hexpm patch
Who found and reported it?
- Peter Ullrich (finder)
- Jonatan Männchen / EEF (analyst)
- Eric Meadows-Jönsson (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 17, 2026
- Published
- September 22, 2026, 15:51 UTC
- CVE record updated
- November 20, 2026, 06:02 UTC by EEF
- NVD
- Deferred, last modified November 20, 2026, 06:17 UTC
- Last checked
- CVE list November 20, 2026, 06:15 UTC; NVD November 20, 2026, 07:04 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect hexpm?
- Nov 24, 2026CVE-2026-129514 hexpm: deserialization of untrusted data
- Aug 24, 2026CVE-2026-75554 hexpm: session does not expire
- Aug 24, 2026CVE-2026-75542 hexpm: incorrect authorization
- Mar 13, 2026CVE-2026-23940 hexpm: denial of service (uncontrolled resource consumption)
- Mar 5, 2026CVE-2026-21622 hexpm: session does not expire
- Mar 5, 2026CVE-2026-21621 hexpm: incorrect authorization
- Feb 26, 2026CVE-2026-23939 hexpm: path traversal (reading or writing files outside the intended folder)
- Jan 19, 2026CVE-2026-21618 hexpm: cross-site scripting (XSS)
Questions about CVE-2026-86698
Is CVE-2026-86698 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.40% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of hexpm are affected by CVE-2026-86698?
hexpm from 2025-10-10 before 2026-09-22, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-86698?
2026-09-22, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-86698?
Low (2.3, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-86698?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.