{"id":"CVE-2026-41427","published":"2026-04-24T19:23:20Z","modified":"2026-04-27T13:42:23Z","title":"Better Auth OAuth 2.1 Provider: Unprivileged users can register OAuth clients","vendor":"better-auth","product":"better-auth","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00383,"percentile":0.24135,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/better-auth/better-auth/security/advisories/GHSA-xr8f-h2gw-9xh6","tags":["x_refsource_CONFIRM"]}],"priority":{"score":9.8,"factors":[{"name":"EPSS percentile","points":4.83},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"better-auth","affectedVersions":[{"vendor":"better-auth","product":"better-auth","versions":[">= 1.4.8-beta.7, < 1.6.5",">= 1.7.0-beta.0, <= 1.7.0-beta.1"]},{"vendor":"better-auth","product":"oauth-provider","versions":[">= 1.4.8-beta.7, < 1.6.5",">= 1.7.0-beta.0, <= 1.7.0-beta.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-27T13:42:15.023332Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@better-auth/oauth-provider","vulnerableRanges":[">=1.4.8-beta.7, <1.6.5",">=1.7.0-beta.0, <=1.7.0-beta.1"],"patched":["1.6.5"],"from":["GHSA-xr8f-h2gw-9xh6"],"provenance":"source"}],"summary":{"text":"The Better Auth OAuth 2.1 Provider, part of the better-auth TypeScript authentication library, fails to invoke the clientPrivileges create hook before persisting new OAuth clients, so deployments that relied on that option to restrict client registration were not actually restricted. An attacker who holds any authenticated account can reach the OAuth client creation endpoints over the network, without user interaction, and register a client with attacker-chosen redirect URIs and metadata.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:31Z"},"euvd":{"id":"EUVD-2026-25617","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-41427","published":"2026-04-24","fixed":"1.6.5","kev":false},{"cve":"CVE-2026-53517","published":"2026-07-15","fixed":"1.6.11","kev":false,"link":{"from":"CVE-2026-41427","to":"CVE-2026-53517","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@better-auth/oauth-provider","fromFixed":"1.6.5","toFixed":"1.6.11","daysApart":82}]}},{"cve":"CVE-2026-53518","published":"2026-07-15","fixed":"1.6.11","kev":false,"link":{"from":"CVE-2026-41427","to":"CVE-2026-53518","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@better-auth/oauth-provider","fromFixed":"1.6.5","toFixed":"1.6.11","daysApart":82}]}}],"package":"npm:@better-auth/oauth-provider"}}