PoC Monitor
← All CVEs
CVE-2026-41427published 24 Apr 2026 19:23 UTCData: JSON · API

Better-auth

Better Auth OAuth 2.1 Provider: Unprivileged users can register OAuth clients

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.1high · scored by CNA · CWE-863
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

better-auth better-auth
  • >= 1.4.8-beta.7, < 1.6.5
  • >= 1.7.0-beta.0, <= 1.7.0-beta.1

Fixed in 1.6.5

better-auth oauth-provider
  • >= 1.4.8-beta.7, < 1.6.5
  • >= 1.7.0-beta.0, <= 1.7.0-beta.1

Fixed in 1.6.5

Mitigation

Upgrade better-auth to 1.6.5 or later.

Upgrade oauth-provider to 1.6.5 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published24 Apr 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.