CVE-2026-53518Better-auth/oauth-provider
Alta 7.6 Sin autenticación
Seguir: esta CVE · Better-auth · Better-auth/oauth-provider Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 61
- CVSS 4.0
- 7.6
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 15 jul 2026
- Actualizada
- 21 jul 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Qué pasa
Better Auth is an authentication and authorization library for TypeScript. From 1.6.0 until 1.6.11, the @better-auth/oauth-provider POST /oauth2/token endpoint for the authorization_code grant redeems a single-use authorization code through a non-atomic find-then-delete sequence, allowing two concurrent requests to pass the read step and mint independent access tokens, refresh tokens, and ID tokens; legacy /oauth2/token and /mcp/token paths in oidc-provider and mcp plugins share the same primitive. This issue is fixed in version 1.6.11.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Better-auth/oauth-provider.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| npm | @better-auth/oauth-provider |
≥ 1.6.0 < 1.6.11 |
1.6.11 |
npm install @better-auth/oauth-provider@1.6.11 |
| npm | better-auth |
< 1.6.11 |
1.6.11 |
npm install better-auth@1.6.11 |
Según OSV / GitHub Advisories (GHSA-7w99-5wm4-3g79). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| better-auth | better-auth/oauth-provider | ≥ 1.6.0 < 1.6.11 |
| better-auth | better_auth | ≥ 1.6.0 < 1.6.11 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Release Notes
- github.com Mitigation Vendor Advisory