{"id":"CVE-2026-41427","revision":"20a84ba449ee40709d09aca34fae0bca","records":[{"revision":"20a84ba449ee40709d09aca34fae0bca","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-41427","aliases":[],"title":"Better Auth OAuth 2.1 Provider: Unprivileged users can register OAuth clients","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.","state":0,"publishedAt":"2026-04-24T19:23:20.161+00:00","modifiedAt":"2026-04-27T13:42:23.885+00:00","affected":[{"ecosystem":"Vendor product","name":"better-auth","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"better-auth\",\n                    \"product\": \"better-auth\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 1.4.8-beta.7, < 1.6.5\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 1.7.0-beta.0, <= 1.7.0-beta.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"oauth-provider","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"better-auth\",\n                    \"product\": \"oauth-provider\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 1.4.8-beta.7, < 1.6.5\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 1.7.0-beta.0, <= 1.7.0-beta.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","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,"severity":"HIGH"}],"references":["https://github.com/better-auth/better-auth/security/advisories/GHSA-xr8f-h2gw-9xh6"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-41427","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-41427","identifiers":["CVE-2026-41427"]},"retained":false,"historicalAffected":[]}],"coverage":[]}