CVE-2026-75554 Explicit organization scopes survive token refresh after membership ends
Removed organization members retain read access to private packages via token refresh, bypassing membership checks in Hex.pm.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-75554?
CVE-2026-75554 is a low-severity authentication bypass vulnerability in hexpm, published on 24 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-613
Which versions are affected by CVE-2026-75554?
How do I fix CVE-2026-75554?
No fix has been published for CVE-2026-75554 yet. Limit exposure of the affected software until one is available.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2026-75554 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-75554 exists.
Sources
Also known as EEF-CVE-2026-75554, GHSA-24ww-j3f4-p49c.