What’s Vulnerable › Vulnerabilities

CVE-2026-109346: better-auth 1.3.8-beta.3 before 1.7.0-rc.3 Device Authorization Phishing via /device

Description

better-auth from 1.3.8-beta.3 before 1.7.0-rc.3 contains a UI misrepresentation vulnerability in the deviceAuthorization plugin because GET /device omits the requesting client_id and scope. Attackers can start a device request via /device/code, trick signed-in users into approving the code, then redeem it at /device/token for a live session token.

Affected products

How to fix

Upgrade to a fixed version: Npm Better-Auth 1.7.0-rc.3; better-auth 1.7.0-rc.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-109346 or the next vulnerability affects your stack