Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Better-Auth | Better-Auth\/Oauth-Provider | >= 1.4.9, < 1.6.5 |
Related Weaknesses (CWE)
References
- https://github.com/better-auth/better-auth/security/advisories/GHSA-xr8f-h2gw-9xMitigationVendor Advisory
FAQ
What is CVE-2026-41427?
CVE-2026-41427 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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...
How severe is CVE-2026-41427?
CVE-2026-41427 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-41427?
Check the references section above for vendor advisories and patch information. Affected products include: Better-Auth Better-Auth\/Oauth-Provider.