CVE-2026-75554CWE-613

CVE-2026-75554

published August 25, 2026

CVSS
2.3
EPSS
0%
Percentile
35.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
2.3 · NONE
CVSS v4.0
2.3 · 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
EPSS
0.00427 · 35.9th percentile
Weakness
CWE-613 · Insufficient Session Expiration
Published
2026-08-25T01:17Z
References (5)
EPSS history
Timeline
  • 26 AUG 08:27Z
    EPSS moved — → 0%
    epss
  • 24 AUG 20:15Z
    Explicit organization scopes survive token refresh after membership ends
    cvelistv5