{"id":"CVE-2026-53515","published":"2026-07-15T17:27:00Z","modified":"2026-07-15T19:30:08Z","title":"Better Auth: Privilege escalation via SSO provider registration: missing admin role check in @better-auth/sso","vendor":"better-auth","product":"better-auth","tier":"tail","description":{"text":"Better Auth is an authentication and authorization library for TypeScript. From 1.2.10 until 1.6.11, the @better-auth/sso plugin's POST /sso/register endpoint lets any organization member attach a new SSO provider to that organization because registerSSOProvider checks only for a membership row and does not require an owner or admin role, allowing attacker-controlled OIDC or SAML providers to drive /sso/callback/{providerId} organization provisioning. This issue is fixed in version 1.6.11.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00426,"percentile":0.37735,"provenance":"source"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"},{"id":"CWE-285","name":"Improper Authorization"},{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/better-auth/better-auth/security/advisories/GHSA-gv74-j8m3-fg5f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/better-auth/better-auth/pull/9220","tags":["x_refsource_MISC"]},{"url":"https://github.com/better-auth/better-auth/commit/86765f1597378f5c3deed1b80ca91faac0a6bf00","tags":["x_refsource_MISC"]},{"url":"https://github.com/better-auth/better-auth/releases/tag/v1.6.11","tags":["x_refsource_MISC"]}],"priority":{"score":12.5,"factors":[{"name":"EPSS percentile","points":7.55},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"better-auth","affectedVersions":[{"vendor":"better-auth","product":"better-auth","versions":[">= 1.2.10, < 1.6.11"]},{"vendor":"@better-auth","product":"sso","versions":[">= 1.2.10, < 1.6.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-15T19:29:56.598355Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@better-auth/sso","vulnerableRanges":[">=1.2.10, <1.6.11"],"patched":["1.6.11"],"from":["GHSA-gv74-j8m3-fg5f"],"provenance":"source"}],"summary":{"text":"Better Auth's @better-auth/sso plugin, in versions from 1.2.10 up to but not including 1.6.11, has a flaw in its POST /sso/register endpoint where the registerSSOProvider check confirms only that the user is a member of the organization, not that they hold an owner or admin role. An attacker with network access and a valid account who is any member of an organization can register an attacker-controlled OIDC or SAML provider for that organization, which can then be used through the /sso/callback/{providerId} flow to provision access within the organization, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:31Z"},"euvd":{"id":"EUVD-2026-44740","exploited":false,"provenance":"source"}}