CVE-2026-53515
HIGH 7.1CVSS 3.1@better-auth/sso: SSO provider may allow registration for any org member without a checking their role
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
- 15 Jul 2026
- Last modified
- 21 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-269CWE-285CWE-863
- Also known as
- GHSA-gv74-j8m3-fg5f
- Sources
- NVDJSONOSV GHSA-gv74-j8m3-fg5fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | better-auth | better-auth/ssocpe:2.3:a:better-auth:better-auth\/sso:*:*:*:*:*:node.js:*:* |
< 1.6.11 | 1.6.11 |
| NVD | better-auth | better_authcpe:2.3:a:better-auth:better_auth:*:*:*:*:*:node.js:*:* |
>= 1.2.10, < 1.6.11 | 1.6.11 |
| OSV | npm | @better-auth/sso | >= 1.2.10, < 1.6.11 | 1.6.11 |
References
- https://github.com/better-auth/better-auth/commit/86765f1597378f5c3deed1b80ca91faac0a6bf00 · Patch, WEB
- https://github.com/better-auth/better-auth/pull/9220 · Issue Tracking, Patch, WEB
- https://github.com/better-auth/better-auth/releases/tag/v1.6.11 · Release Notes, WEB
- https://github.com/better-auth/better-auth/security/advisories/GHSA-gv74-j8m3-fg5f · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-53515 · ADVISORY
- https://github.com/better-auth/better-auth/issues/9133 · WEB
- https://github.com/better-auth/better-auth · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 15 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Jul 2026)