@better-auth/core@1.4.4-beta.3

The most comprehensive authentication framework for TypeScript.

  • latest version

    1.6.26

  • latest non vulnerable version

  • first published

    10 months ago

  • latest version published

    6 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @better-auth/core package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Authentication Bypass Using an Alternate Path or Channel

    @better-auth/core is a The most comprehensive authentication framework for TypeScript.

    Affected versions of this package are vulnerable to Authentication Bypass Using an Alternate Path or Channel in the handleOAuthUserInfo. An attacker can gain unauthorized access to user accounts by pre-registering a victim's email address and leveraging OAuth or SSO providers that assert email_verified: true, which allows the attacker's account to be implicitly linked to the victim's OAuth identity. This results in the attacker obtaining both password and OAuth login access to the same account.

    Note: This is only exploitable if the application has emailAndPassword.enabled: true, at least one OAuth or SSO provider configured, account.accountLinking.disableImplicitLinking is not set to true, and account.accountLinking.enabled is not set to false.

    How to fix Authentication Bypass Using an Alternate Path or Channel?

    Upgrade @better-auth/core to version 1.6.11 or higher.

    <1.6.11