{"cve":"CVE-2026-41427","nvd":{"published":"2026-04-24T20:16:27.390","modified":"2026-10-26T21:10:00.170","status":"Analyzed","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.","cvss_v4":{"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","score":7.1},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5},"cwes":["CWE-863"],"references":["https://github.com/better-auth/better-auth/security/advisories/GHSA-xr8f-h2gw-9xh6"],"products":["better-auth:better-auth\\/oauth-provider"],"source":"nvd","synced_at":"2026-10-26T21:38:48.864438205+00:00"},"epss":{"cve":"CVE-2026-41427","score":0.00212,"percentile":0.11377,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-xr8f-h2gw-9xh6","url":"https://osv.dev/vulnerability/GHSA-xr8f-h2gw-9xh6","summary":"OAuth 2.1 Provider: Unprivileged users can register OAuth clients","modified":"2026-05-05T16:26:32.977559Z","packages":[{"ecosystem":"npm","name":"@better-auth/oauth-provider","purl":"pkg:npm/%40better-auth/oauth-provider","ranges":[">=1.4.8-beta.7 <1.6.5"],"fixed":["1.6.5"]},{"ecosystem":"npm","name":"@better-auth/oauth-provider","purl":"pkg:npm/%40better-auth/oauth-provider","ranges":[">=1.7.0-beta.0 <=1.7.0-beta.1"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}