{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-53515","id":"CVE-2026-53515","title":"Better Auth: Privilege escalation via SSO provider registration: missing admin role check in @better-auth/sso","description":"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 driv","descriptionLong":"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.","published":"2026-07-15T17:27:00.291Z","updated":"2026-10-28T02:30:57.035484440Z","reserved":"2026-06-09T17:30:33.456Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["better-auth","@better-auth sso"],"affectedProducts":[{"vendor":"better-auth","product":"better-auth","defaultStatus":null,"versions":[{"version":">= 1.2.10, < 1.6.11","status":"affected"}],"platforms":[]},{"vendor":"@better-auth","product":"sso","defaultStatus":null,"versions":[{"version":">= 1.2.10, < 1.6.11","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@better-auth/sso","purl":"pkg:npm/%40better-auth/sso","ranges":[">=1.2.10 <1.6.11"],"fixed":["1.6.11"],"advisory":"GHSA-gv74-j8m3-fg5f"}],"cwes":["CWE-269","CWE-285","CWE-863"],"aliases":["GHSA-gv74-j8m3-fg5f"],"references":[{"url":"https://github.com/better-auth/better-auth/security/advisories/GHSA-gv74-j8m3-fg5f","tags":["x_refsource_CONFIRM","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://github.com/better-auth/better-auth/pull/9220","tags":["x_refsource_MISC","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/better-auth/better-auth/commit/86765f1597378f5c3deed1b80ca91faac0a6bf00","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/better-auth/better-auth/releases/tag/v1.6.11","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53515.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53515","tags":["advisory"]},{"url":"https://github.com/better-auth/better-auth/issues/9133","tags":["web"]},{"url":"https://github.com/better-auth/better-auth","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00426,"epssPercentile":0.37605,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-53515","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53515","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-53515","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-gv74-j8m3-fg5f","ok":true,"note":"GHSA-gv74-j8m3-fg5f"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-53515","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}