Better Auth: Privilege escalation via SSO provider registration: missing admin role check in @better-auth/sso
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| better-auth | better-auth | affected |
|
||||||
| @better-auth | sso | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Better-auth | Better Auth |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-gv74-j8m3-fg5f | @better-auth/sso: SSO provider may allow registration for any org member without a checking their role |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.426% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Better-auth
Better-auth better Auth |
|
| Vendors & Products |
Better-auth
Better-auth better Auth |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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 drive /sso/callback/{providerId} organization provisioning. This issue is fixed in version 1.6.11. | |
| Title | Better Auth: Privilege escalation via SSO provider registration: missing admin role check in @better-auth/sso | |
| Weaknesses | CWE-269 CWE-285 CWE-863 |
|
| References |
| |
| Metrics |
cvssV3_1
|