Explicit organization scopes survive token refresh after membership ends
CVE-2026-75554Published 24 Aug 2026, 20:15 UTC
Real-world risk
0.8/ 10Low
Routine
If the vulnerable configuration applies to you: 1.7
PreliminaryFrom the CVSS vector only · confidence low
CVSS
2.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from EEF)
Insufficient Session Expiration vulnerability in the OAuth token refresh grant in hexpm hexpm allows a user removed from an organization to keep reading its private packages. expand_repositories_scope/3 in lib/hexpm/permissions.ex only rewrites the literal repositories scope, so an explicitly granted repository:<org> or docs:<org> scope passes through it untouched. The refresh grant re-derives a new token from the stored granted_scopes, which holds that expanded form, so every refresh reproduces the organization scope without revisiting membership. Because both CDN edges authorize repository access from the token claim without querying the database, an account removed from an organization retains read access for as long as it keeps refreshing, bounded by the 30 day refresh token lifetime rather than the 30 minute access token lifetime. This issue affects hex.pm: from 2025-10-10 before 2026-08-24; hexpm/hexpm: from 650faa03af511e74c1b3b49ec12d35666b6984c4 before 50cffd206490c49c92d7b63c8505949682abedb0.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| hexpmNiche | >= 2025-10-10, < 2026-08-24 | 2026-08-24 |
What to do
Update to a fixed version: 2026-08-24.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.3% chance of exploitation in 30 days (percentile 25), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.270
- Threat T3: Public proof of concept0.950
- 10 × impact 0.3 × prerequisites 0.27 × threat 0.950.769
- Rounded to one decimal between 0.1 and 100.8
Exploitation and evidence timeline
- 24 Aug 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 0.8 (cvss fallback)
Weakness
CWE-613
References
- https://github.com/hexpm/hexpm/security/advisories/GHSA-24ww-j3f4-p49cexploit, related, vendor-advisory
- https://cna.erlef.org/cves/CVE-2026-75554.htmlrelated
- https://osv.dev/vulnerability/EEF-CVE-2026-75554related
- https://github.com/hexpm/hexpm/commit/650faa03af511e74c1b3b49ec12d35666b6984c4related
- https://github.com/hexpm/hexpm/commit/50cffd206490c49c92d7b63c8505949682abedb0patch
- CVE-2026-75554 on CVE.org