Explicit organization scopes survive token refresh after membership ends
Published Aug 24, 2026
2.3
LOWCVSS 4.0
EPSS 0.43%
Description
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.
Affected products
-
Affected
- ≥ 2025-10-10, < 2026-08-24
-
Affected
- ≥ , <
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (5)
- https://cna.erlef.org/cves/CVE-2026-75554.html related
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-65120 Advisory
- https://github.com/hexpm/hexpm/commit/50cffd206490c49c92d7b63c8505949682abedb0 patch
- https://github.com/hexpm/hexpm/security/advisories/GHSA-24ww-j3f4-p49c exploitvendor-advisoryrelated
- https://osv.dev/vulnerability/EEF-CVE-2026-75554 related
| Link | Providers | Tags |
|---|---|---|
| https://cna.erlef.org/cves/CVE-2026-75554.html | related | |
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-65120 | Advisory | |
| https://github.com/hexpm/hexpm/commit/50cffd206490c49c92d7b63c8505949682abedb0 | patch | |
| https://github.com/hexpm/hexpm/security/advisories/GHSA-24ww-j3f4-p49c | exploitvendor-advisoryrelated | |
| https://osv.dev/vulnerability/EEF-CVE-2026-75554 | related |
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
Red Hat
No data
GitHub
No data