# CVE-2026-41427

> Vulnerability · severity: **MEDIUM** (CVSS 6.5).

## 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.

## Key facts

- **CVE ID:** CVE-2026-41427
- **Published:** 2026-04-24
- **CVSS severity:** MEDIUM
- **CVSS base score:** 6.5
- **CWE codes:** CWE-863

## Affected products

- `better-auth:better-auth\/oauth-provider`

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-41427

## Citation

> AI Analytics. CVE-2026-41427. Retrieved 2026-07-24 from https://api.ai-analytics.org/cve/CVE-2026-41427. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*