CVE-2026-41427Better-auth/oauth-provider
High 7.1
Follow: this CVE · Better-auth · Better-auth/oauth-provider We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 4.0
- 7.1
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 24, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-863
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Better-auth/oauth-provider.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @better-auth/oauth-provider |
≥ 1.4.8-beta.7 < 1.6.5 |
1.6.5 |
npm install @better-auth/oauth-provider@1.6.5 |
| npm | @better-auth/oauth-provider |
≥ 1.7.0-beta.0 ≤ 1.7.0-beta.1 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-xr8f-h2gw-9xh6). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| better-auth | better-auth/oauth-provider | ≥ 1.4.9 < 1.6.5 |
| better-auth | better-auth/oauth-provider | 1.4.8 |
| better-auth | better-auth/oauth-provider | 1.4.8 |
| better-auth | better-auth/oauth-provider | 1.7.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Mitigation Vendor Advisory