← Back to search

CVE-2026-109346

8.1 HIGHpublic exploit available

Published 2026-10-12 · Updated 2026-10-16

AI risk analysis

Summary
The deviceAuthorization plugin in better-auth before 1.7.0-rc.3 omits the client_id and scope from the GET /device endpoint response, allowing attackers to trick authenticated users into approving malicious device authorization requests without their knowledge, then redeem the code for a live session token.
Exploitability
Exploitation requires social engineering to trick a signed-in user into approving an unauthorized device code request, but otherwise needs only network access and no authentication.
Blast radius
Successful exploitation grants attackers full session-level access as the victim user, enabling account takeover and potential lateral movement within services relying on better-auth for device-based authentication.
Detection
Monitor for unexpected or repeated approvals of device authorization requests on the /device endpoint where the client_id or scope were not previously displayed to the user; look for anomalous patterns in token redemption at /device/token following such approvals.
Prioritized remediation
Upgrade to better-auth version 1.7.0-rc.3 or later, which includes the fix that ensures GET /device returns the requesting client_id and scope.
ui-misrepresentationauth-bypasssocial-engineeringsession-hijackoauth2

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Weaknesses

CWE-451

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.