Intel

AIKIDO-2026-11093

better-auth is vulnerable to Authentication Bypass

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jun 5, 2026
June 5, 2026

59

CVE Score

Medium

Authentication Bypass

Are you affected? Scan for Free

TL;DR

Google One Tap could authenticate a local user who merely shared the Google token email while the Google subject was already linked to a different account, diverging from the shared OAuth identity resolver used elsewhere. The /account-info endpoint also resolved provider accounts globally by account ID before ownership checks, which broke correct lookups when provider account IDs collided across users. Ambiguous internalAdapter helpers could non-deterministically match accounts or treat a session token string as a user ID and revoke every session for that user. The release routes One Tap through the shared OAuth path, scopes account lookups to the signed-in user, and splits session deletion into explicit user-scoped and token-scoped helpers.

How do I fix this?

Upgrade the better-auth library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

1.0.0 - 1.6.12

Fixed in 1.6.13

Background info

better-auth is vulnerable to Authentication Bypass in versions 1.0.0 - 1.6.12.

Get secure today,
quickly and for free.

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.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea