llamaCVEVulnerability Intelligence
/
better-auth

CVE-2026-41427

Better Auth OAuth 2.1 Provider: Unprivileged users can register OAuth clients

Specific setups onlyParche disponible
Descargar PNG JSON
CVSS 4.0
7.1
Alta
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:L/SA:N Fuente: CNA
6.5NVD · CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -8 d de la divulgación
Exposición208 dDesde la divulgación, 24 abr 2026, 2:23 p. m.
Detección192 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, 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 +1
Explotación
Remediación
Parche 1.6.5
Monitoreo
Detectada
Verificada
16 abr 26
24 abr 26
27 abr 26
3 nov 26
18 nov 26
19 nov 26
16 abr 26
9 jun 26
3 ago 26
26 sept 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 1.6.5 @better-auth/oauth-provider · -8 d desde divulgación
Divulgación Publicada CVE-2026-41427 divulgada · CVSS 7.1 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen

Better Auth is an authentication and authorization library for TypeScript. Prior to 1.6.5, the clientPrivileges option documents a create action, but the OAuth client creation endpoints did not invoke the hook before persisting new clients. Deployments that configured clientPrivileges to restrict client registration were not actually restricted — any authenticated user could reach the create endpoints and register an OAuth client with attacker-chosen redirect URIs and metadata. This vulnerability is fixed in 1.6.5.

Affects @better-auth/oauth-provider from 1.4.8-beta.7 up to 1.6.5, and the 1.7.0-beta.0 and 1.7.0-beta.1 prereleases, where clientPrivileges limits OAuth client creation. Fixed in 1.6.5.

¿Qué significa?Any signed-in user who can reach the client creation endpoints can register an OAuth client with attacker-chosen redirect URIs and other details, which can enable phishing that appears to come from a first-party application. On the admin endpoint, low-privilege users can also set sensitive fields such as skipping the consent screen.
¿Quién está afectado?The affected range is @better-auth/oauth-provider from 1.4.8-beta.7 up to 1.6.5, plus the 1.7.0-beta.0 and 1.7.0-beta.1 prereleases. The issue applies where clientPrivileges is set to control who can create OAuth clients and signed-in users who are not fully trusted can reach the creation endpoints; check the installed package version and whether clientPrivileges is configured.
¿Qué hacer?Upgrade @better-auth/oauth-provider and better-auth to 1.6.5 or later, which is the listed fixed version.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Uses @better-auth/oauth-provider before 1.6.5 (affected versions 1.4.8-beta.7 up to 1.6.5, and 1.7.0-beta.0 and 1.7.0-beta.1 prereleases)“You may be affected if you use @better-auth/oauth-provider before 1.6.5 and set clientPrivileges to control who can create OAuth clients.”
02
The clientPrivileges option is set and relied on to limit who can create OAuth clients“You set clientPrivileges and rely on it to limit who can create OAuth clients.”
03
Signed-in users not fully trusted can reach the endpoints that create OAuth clients“Signed-in users you do not fully trust can reach the endpoints that create OAuth clients.”
¿Quién debe revisar?Teams running @better-auth/oauth-provider before 1.6.5 (or 1.7.0-beta.0/1.7.0-beta.1) that set clientPrivileges to restrict OAuth client registration
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · NVD
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
better-auth · oauth-provider · @better-auth/oauth-provider≥ 1.4.8-beta.7 < 1.6.5
better-auth · oauth-provider · @better-auth/oauth-provider≥ 1.7.0-beta.0 ≤ 1.7.0-beta.1
1.4.8-beta.7
1.6.5
1.7.0-beta.0
1.7.0-beta.1
1.7.25
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npm@better-auth/oauth-provider
Corregida 1.6.5 -8 d 1.7.25 no afectada
Versiones corregidas1.6.5
Explotación

Arsenal público

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

Referencias
Fabricantehttps://github.com/better-auth/better-auth/security/advisories/GHSA-xr8f-h2gw-9xh6

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