@better-auth/sso is vulnerable to Improper Authentication
81
CVE Score
High
Improper Authentication
The SSO plugin lets a signed-in user register a personal OIDC or SAML provider that reproduces another provider's identity and a victim's user identifier. Signing in through that personal provider can match an existing account linked through the real provider and create a new session for it. This gives the registrant a live session for the victim's account without any action from the victim. The fix stops a personal provider from matching an account linked through a different provider.
Upgrade the @better-auth/sso library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you have not configured resolveUser for the SSO plugin.
1.7.0 - 1.7.2
Fixed in 1.7.3@better-auth/sso is vulnerable to Improper Authentication in versions 1.7.0 - 1.7.2.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.