CVE-2026-41427
Better Auth OAuth 2.1 Provider: Unprivileged users can register OAuth clients
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
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NCiclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| 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 |
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.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npm@better-auth/oauth-provider |
Corregida | 1.6.5 | -8 d | 1.7.25 no afectada |
1.6.5Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/better-auth/better-auth/security/advisories/GHSA-xr8f-h2gw-9xh6Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
