CVE-2026-109346

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

Published Oct 12, 2026 CVSS 4.0 · 8.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-451

    User Interface (UI) Misrepresentation of Critical Information

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 26, 2026, 4:46 PM
Reserved
Oct 12, 2026, 2:19 PM
Status
Deferred
Published
Oct 12, 2026, 5:17 PM
Modified
Oct 26, 2026, 5:17 PM