CVE-2026-41427
published high CVSS 4.0 · 7.1Better Auth OAuth 2.1 Provider: Unprivileged users can register OAuth clients
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| better-auth | — | better-auth>= 1.4.8-beta.7, < 1.6.5 · >= 1.7.0-beta.0, <= 1.7.0-beta.1 | Affected | Not stated | GitHub_M |
| better-auth | — | oauth-provider>= 1.4.8-beta.7, < 1.6.5 · >= 1.7.0-beta.0, <= 1.7.0-beta.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| better-auth | better-auth | >= 1.4.8-beta.7, < 1.6.5 (affected)>= 1.7.0-beta.0, <= 1.7.0-beta.1 (affected) | GitHub_M · cna |
| better-auth | oauth-provider | >= 1.4.8-beta.7, < 1.6.5 (affected)>= 1.7.0-beta.0, <= 1.7.0-beta.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-863 CWE-863: Incorrect Authorization
References
1Provider assertions
2GitHub_M · cna
Better Auth OAuth 2.1 Provider: Unprivileged users can register OAuth clients
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 803a5447800b6db8e504f0041e9d2b4dfb2f525524d15402c44f0525d8b364d6
- Ingested
- 23 Sep 2026, 09:13:40 UTC
- Source record
- Official CVE record