Live threats

All CVEs / Better-auth

CVE-2026-41427Better-auth/oauth-provider

High 7.1

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Better-auth/oauth-provider.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
better-authbetter-auth/oauth-provider≥ 1.4.9 < 1.6.5
better-authbetter-auth/oauth-provider1.4.8
better-authbetter-auth/oauth-provider1.4.8
better-authbetter-auth/oauth-provider1.7.0

Official sources

References

Links published by the sources. Open them with care.