CVE-2026-53515
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-07-15
- Last modified
- 2026-07-21
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N- Scored by
- security-advisories@github.com
- Probability of exploitation
-
0.2 %
higher than 15 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| better-auth | sso (npm) | ≥ 1.2.10, < 1.6.11 | Affected |
| Better-auth | Better Auth | ≥ 1.2.10, < 1.6.11 | Affected |
| Better-auth | Better-auth/sso | < 1.6.11 | Affected |
Weakness type
-
CWE-269: Improper Privilege Management
The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.
-
CWE-285: Improper Authorization
The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.
-
CWE-863: Incorrect Authorization
The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1005: Data from Local System
- T1012: Query Registry
- T1083: File and Directory Discovery
- T1134.001: Token Impersonation/Theft
- T1548: Abuse Elevation Control Mechanism
- T1550.004: Web Session Cookie
- T1552.002: Credentials in Registry
- T1565.002: Transmitted Data Manipulation
- T1574.005: Executable Installer File Permissions Weakness
- T1574.006: Dynamic Linker Hijacking
- T1574.007: Path Interception by PATH Environment Variable
- T1574.010: Services File Permissions Weakness
References
- https://github.com/better-auth/better-auth/commit/86765f1597378f5c3deed1b80ca91faac0a6bf00
- https://github.com/better-auth/better-auth/pull/9220
- https://github.com/better-auth/better-auth/releases/tag/v1.6.11
- https://github.com/better-auth/better-auth/security/advisories/GHSA-gv74-j8m3-fg5f
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.