llamaCVEVulnerability Intelligence
/
hexpm

CVE-2026-75542

OAuth token exchange grants repository scopes for organizations the principal cannot access

Specific setups onlyParche disponibleauthorization bypass
Descargar PNG JSON
CVSS 4.0
8.3
Alta
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión2026-08-24
Exposición86 dDesde la divulgación, 24 ago 2026, 3:14 p. m.
Detección84 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
Remediación
Monitoreo
Detectada
Fuente: OSV +1
24 ago 26
25 ago 26
17 nov 26
19 nov 26
24 ago 26
15 sept 26
7 oct 26
28 oct 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-75542 divulgada · CVSS 8.3 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Monitoreo Detectada Ingresó al índice
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen

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.

¿Qué significa?An OAuth token exchange through the client_credentials grant can grant repository scopes for organizations the principal cannot access. A token minted this way gives read access to the private packages of any organization on hex.pm for its lifetime.
¿Quién está afectado?The advisory says it affects hex.pm from 2025-10-18 before 2026-08-24. It applies when an API key holding the repositories permission is exchanged for a token through client_credentials and the requested scope begins with repository: and names an organization.
¿Qué hacer?The checked facts name no fixed version or patch, so no upgrade target can be given. Check the advisory for a fix before relying on any version.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affects hex.pm from 2025-10-18 before 2026-08-24“This issue affects hex.pm: from 2025-10-18 before 2026-08-24.”
02
The API key must hold the repositories permission“allows an API key holding the repositories permission”
03
The key is exchanged for a token through the OAuth client_credentials grant“When an API key is exchanged for a token through the OAuth client_credentials grant”
04
The requested scope must begin with repository:, naming any organization“admits a requested scope whenever the key carries the repositories permission”
¿Quién debe revisar?Operators of hexpm/hexpm (hex.pm) deployments from 2025-10-18 to 2026-08-24 where API keys can hold the repositories permission and be exchanged via OAuth client_credentials
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:N
AltoBajoNinguno
Disponib. (sistema)VA:N
AltoBajoNinguno
Confid. (posterior)SC:H
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
hex.pm≥ 2025-10-18 < 2026-08-24
2025-10-18
2026-08-24
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
hexpm
Corregida 2026-08-24 — —
Versiones corregidas2026-08-24
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Registro
EscenarioGENERALEEF
Referencias
Fabricantehttps://github.com/hexpm/hexpm/security/advisories/GHSA-rfx8-w654-8cpr
Parchehttps://github.com/hexpm/hexpm/commit/bf0fb9d208f0acfabf7a2f7467c8231659e322a8
Otrahttps://cna.erlef.org/cves/CVE-2026-75542.html
Otrahttps://osv.dev/vulnerability/EEF-CVE-2026-75542
Otrahttps://github.com/hexpm/hexpm/commit/71829cb6f6559bcceb1ef4e43a2fb8cdd3af654b

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.