CVE-2026-41427 in Better-Auth/Oauth-Provider
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...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Better-Auth | Better-Auth/Oauth-Provider | 1.4.8 1.7.0 ≥ 1.4.9, < 1.6.5 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-41427 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-152535-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| Published | 2026-04-24 |
| Last modified | 2026-10-26 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-863: Incorrect Authorization
Software performs an authorization check incorrectly, allowing access beyond intended privileges.
Analysis AI-written, not human-reviewed
CVE-2026-41427 affects Better Auth versions prior to 1.6.5, where the clientPrivileges option does not properly restrict client registration, allowing authenticated users to create clients without the intended restrictions.
An attacker who is authenticated can exploit this vulnerability to create new OAuth clients, potentially gaining unauthorized access or privileges within the system.
Questions
What is CVE-2026-41427?
CVE-2026-41427 affects Better Auth versions prior to 1.6.5, where the clientPrivileges option does not properly restrict client registration, allowing authenticated users to create clients without the intended restrictions.
What is the CVSS score for CVE-2026-41427?
CVE-2026-41427 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N. EPSS: 0.4%.
Is CVE-2026-41427 actively exploited?
No confirmed active exploitation of CVE-2026-41427 as of 2026-11-03.
How do I remediate CVE-2026-41427?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2026-41427?
CVE-2026-41427 affects Better-Auth Better-Auth/Oauth-Provider.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Better-Auth","product":"Better-Auth/Oauth-Provider","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.