CVE 7.1 HIGH

Better Auth OAuth 2.1 Provider: Unprivileged users can register OAuth clients_CVE-2026-41427

7.1 / 10
HIGH
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

Description

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.

Basic Information

ID CVE-2026-41427
Source GitHub_M
Published Apr 24, 2026 at 19:23

Affected Product

Vendor better-auth
Product better-auth
Version >= 1.4.8-beta.7, < 1.6.5
Affected Versions better-auth better-auth >= 1.4.8-beta.7, < 1.6.5
better-auth better-auth >= 1.7.0-beta.0, <= 1.7.0-beta.1
better-auth oauth-provider >= 1.4.8-beta.7, < 1.6.5
better-auth oauth-provider >= 1.7.0-beta.0, <= 1.7.0-beta.1

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.