CVE-2026-41427

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:better-auth:better-auth\/oauth-provider:*:*:*:*:*:node.js:*:*
cpe:2.3:a:better-auth:better-auth\/oauth-provider:1.4.8:-:*:*:*:node.js:*:*
cpe:2.3:a:better-auth:better-auth\/oauth-provider:1.4.8:beta7:*:*:*:node.js:*:*
cpe:2.3:a:better-auth:better-auth\/oauth-provider:1.7.0:beta0:*:*:*:node.js:*:*

History

13 May 2026, 19:36

Type Values Removed Values Added
CPE cpe:2.3:a:better-auth:better-auth\/oauth-provider:1.4.8:beta7:*:*:*:node.js:*:*
cpe:2.3:a:better-auth:better-auth\/oauth-provider:1.7.0:beta0:*:*:*:node.js:*:*
cpe:2.3:a:better-auth:better-auth\/oauth-provider:*:*:*:*:*:node.js:*:*
cpe:2.3:a:better-auth:better-auth\/oauth-provider:1.4.8:-:*:*:*:node.js:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5
First Time Better-auth better-auth\/oauth-provider
Better-auth
References () https://github.com/better-auth/better-auth/security/advisories/GHSA-xr8f-h2gw-9xh6 - () https://github.com/better-auth/better-auth/security/advisories/GHSA-xr8f-h2gw-9xh6 - Mitigation, Vendor Advisory

24 Apr 2026, 20:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-24 20:16

Updated : 2026-05-13 19:36


NVD link : CVE-2026-41427

Mitre link : CVE-2026-41427

CVE.ORG link : CVE-2026-41427


JSON object : View

Products Affected

better-auth

  • better-auth\/oauth-provider
CWE
CWE-863

Incorrect Authorization