Intel

AIKIDO-2026-404459

better-auth is vulnerable to User Interface (UI) Misrepresentation of Critical Information

GHSA-q84f-53jg-9ppmPublished Oct 19, 2026
October 19, 2026

81

CVE Score

High

User Interface (UI) Misrepresentation of Critical Information

Are you affected? Scan for Free

TL;DR

The deviceAuthorization() plugin lets a user approve a sign-in on a second device by confirming a short code shown on the first. The approval page does not display, from server-checked data, which client is requesting access or what permissions it wants, so a user cannot tell their own request from one someone else created. Approving a code the user did not start hands the requester a live session token for the approving user's account. The fix adds the requesting client and its permissions to the server-checked approval data.

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 and you enable the opt-in deviceAuthorization() plugin with an approval page that does not show the requesting client and permissions from server-checked data.

Versions

1.3.8 - 1.6.33

Fixed in 1.7.0

Background info

better-auth is vulnerable to User Interface (UI) Misrepresentation of Critical Information in versions 1.3.8 - 1.6.33.

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