@better-auth/expo is vulnerable to Improper Authentication
91
CVE Score
Critical
Improper Authentication
The Better Auth Expo plugin lets an unauthenticated attacker forge authentication tokens and take over a user's account using only their email address. Its public authorization proxy signs attacker-supplied values with the application secret, which is also used for email verification links and cached sessions. The endpoint also allows redirects to arbitrary HTTPS sites, and wildcard trusted origins can accept unintended URLs.
Upgrade both @better-auth/expo and better-auth to the patch version. If the authorization proxy was reachable, rotate the application secret after upgrading to invalidate previously issued signatures. If Expo SSO sign-in then fails, add the identity provider’s origin to trustedOrigins.
You are affected if your Better Auth server registers the expo() plugin from @better-auth/expo and uses an affected version. No additional setting is needed for account takeover. The wildcard origin issue also requires a wildcard entry in trustedOrigins.
1.4.0 - 1.7.15
Fixed in 1.7.16@better-auth/expo is vulnerable to Improper Authentication in versions 1.4.0 - 1.7.15.
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.