Vulnerability library
Security checkJuly 20, 2026

@better-auth/sso: SSO provider may allow registration for any org member without a checking their role

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpm@better-auth/sso

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

You are affected if all of the following are true:

  • You depend on @better-auth/sso at any version in >= 1.2.10, < 1.6.11, or any current next pre-release.
  • You enable both sso() and organization() plugins.
  • providersLimit is at its default (10) or any non-zero value, so SSO provider registration is enabled for authenticated users.

Recommendation

Update the @better-auth/sso package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 1.2.10, < 1.6.11
  • Patched version(s): 1.6.11

References

Could your website be exposed too?

SmartScanner can check your website for @better-auth/sso: SSO provider may allow registration for any org member without a checking their role and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated July 20, 2026