CVE-2026-41427

Summary

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.

Affected Software

VendorProductVersion RangeStatus
better-authbetter-auth>= 1.4.8-beta.7, < 1.6.5affected
better-authbetter-auth>= 1.7.0-beta.0, <= 1.7.0-beta.1affected
better-authoauth-provider>= 1.4.8-beta.7, < 1.6.5affected
better-authoauth-provider>= 1.7.0-beta.0, <= 1.7.0-beta.1affected

Weaknesses

  • CWE-863: CWE-863: Incorrect Authorization

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

References