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.
Published: 2026-10-12
Score: 8.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized session token acquisition through device authorization phishing
Action: Immediate Patch
AI Analysis

Impact

better-auth 1.3.8-beta.3 through 1.7.0‑rc.3 suffers from a UI misrepresentation flaw in the deviceAuthorization plugin, where the GET /device endpoint fails to display the requesting client_id and scope. This omission lets an attacker initiate a device request, trick a logged‑in user into approving the request, and then redeem the code to receive a live session token. The vulnerability enables an attacker to impersonate users and gain unauthorized access, consistent with CWE‑451.

Affected Systems

All deployments of better-auth versions 1.3.8‑beta.3 up to and including 1.6.x, and any build before 1.7.0‑rc.3, are impacted. The product affected is better-auth’s deviceAuthorization feature, operated via the /device, /device/code, and /device/token endpoints.

Risk and Exploitability

The vulnerability carries a CVSS score of 8.5, indicating a high severity. EPSS data is unavailable, and the issue is not currently listed in CISA’s KEV catalog, though the potential for phishing attacks remains significant. The attack vector requires user interaction: an attacker must convince a legitimate user to approve a seemingly legitimate device request and then redeem the code. Because the attacker ultimately obtains a session token, the risk to confidentiality, integrity, and availability of user accounts is high if the flaw is exploited.

Generated by OpenCVE AI on October 12, 2026 at 18:28 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade better-auth to version 1.7.0‑rc.3 or later.
  • If an upgrade is not immediately possible, disable the deviceAuthorization plugin or restrict access to the /device, /device/code, and /device/token endpoints to trusted users only.
  • Monitor authentication logs for abnormal device code approvals and educate users about the risk of approving unexpected device authorization requests.

Generated by OpenCVE AI on October 12, 2026 at 18:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 26 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 12 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title better-auth 1.3.8-beta.3 before 1.7.0-rc.3 Device Authorization Phishing via /device
First Time appeared Better-auth
Better-auth better Auth
Weaknesses CWE-451
CPEs cpe:2.3:a:better-auth:better_auth:*:*:*:*:*:*:*:*
Vendors & Products Better-auth
Better-auth better Auth
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Better-auth Better Auth
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-26T16:46:48.047Z

Reserved: 2026-10-12T14:19:01.653Z

Link: CVE-2026-109346

cve-icon Vulnrichment

Updated: 2026-10-26T16:42:22.652Z

cve-icon NVD

Status : Deferred

Published: 2026-10-12T17:17:31.367

Modified: 2026-10-26T17:17:13.120

Link: CVE-2026-109346

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T06:15:14Z

Weaknesses
  • CWE-451

    User Interface (UI) Misrepresentation of Critical Information