CVE-2026-41427
CVE-2026-41427 · Better Auth OAuth 2.1 Provider: Unprivileged users can register OAuth clients
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 7.1 · Élevée · EPSS 0,2% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: node
Produits et versions concernés
better-auth
- Versions du logiciel
- >= 1.4.8-beta.7, < 1.6.5: Concernée
- >= 1.7.0-beta.0, <= 1.7.0-beta.1: Concernée
Aucun correctif publié
oauth-provider
- Versions du logiciel
- >= 1.4.8-beta.7, < 1.6.5: Concernée
- >= 1.7.0-beta.0, <= 1.7.0-beta.1: Concernée
Aucun correctif publié
@better-auth/oauth-provider npm
- Plages de versions concernées
- SEMVER: ≥ 1.4.8-beta.7, < 1.6.5
Mettez à jour vers 1.6.5
@better-auth/oauth-provider npm
- Plages de versions concernées
- SEMVER: ≥ 1.7.0-beta.0, ≤ 1.7.0-beta.1
Aucun correctif publié