8.3

CVE-2026-75542: OAuth token exchange grants repository scopes for organizations the principal cannot access

Deferred
Published 24-08-2026Last modified 20-11-2026

Vulnerability summary

CVE-2026-75542 is a high (CVSS 8.3) Incorrect Authorization vulnerability in hexpm. EPSS estimates a 0.54% chance of exploitation in the next 30 days, higher than 47% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.3/10
010
High · v4.0 (CVE.org)
EPSS score
0.54%
0%100%
Low · +0.08 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 24-08-2026
    PublishedVulnerability first disclosed.
  2. 20-11-2026
    Last modifiedVulnerability information updated.

Description

Incorrect Authorization vulnerability in the OAuth token endpoint in hexpm hexpm allows an API key holding the repositories permission to read another organization's private packages. When an API key is exchanged for a token through the OAuth client_credentials grant, validate_scopes_against_key/2 in lib/hexpm_web/controllers/api/oauth_controller.ex admits a requested scope whenever the key carries the repositories permission and the scope string begins with repository:. The organization name is never resolved against the principal, and expand_repositories_scope/3 only rewrites the literal repositories scope, so an explicit repository:<name> passes through untouched. Both CDN edges authorize repository access from the token claim without querying the database, so the minted token is read access to that organization's private packages until it expires. This issue affects hex.pm: from 2025-10-18 before 2026-08-24; hexpm/hexpm: from 71829cb6f6559bcceb1ef4e43a2fb8cdd3af654b before bf0fb9d208f0acfabf7a2f7467c8231659e322a8.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

0.54%

Chance of exploitation in the next 30 days

Percentile

47%

Versus all other CVEs

30-day change

Increase +0.08 pp

From 0.46% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Hexpm1 product
  • hexpm≥ 2025-10-18, < 2026-08-24 | ≥ 71829cb6f6559bcceb1ef4e43a2fb8cdd3af654b, < bf0fb9d208f0acfabf7a2f7467c8231659e322a8

1 vendor · 1 product

References

5 links