@better-auth/electron 1.5.0-beta.12 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 accepts any validly signed value as its transfer cookie and returns the full endpoint context, including the auth secret and social provider client secrets, in sign-in responses. Authenticated users can obtain these secrets to forge sessions as other users. Attackers knowing a password can exchange desktop authorization codes issued before two-factor verification to bypass the second factor.

Project Subscriptions

Vendors Products
Better-auth Subscribe
Electron Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sat, 21 Nov 2026 22:15:00 +0000

Type Values Removed Values Added
First Time appeared Better-auth
Better-auth electron
Vendors & Products Better-auth
Better-auth electron

Sat, 21 Nov 2026 16:45:00 +0000

Type Values Removed Values Added
Description @better-auth/electron 1.5.0-beta.12 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 accepts any validly signed value as its transfer cookie and returns the full endpoint context, including the auth secret and social provider client secrets, in sign-in responses. Authenticated users can obtain these secrets to forge sessions as other users. Attackers knowing a password can exchange desktop authorization codes issued before two-factor verification to bypass the second factor.
Title @better-auth/electron before 1.7.16 Auth Secret Disclosure and Two-Factor Bypass
Weaknesses CWE-201
References
Metrics cvssV3_1

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

cvssV4_0

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


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-21T16:34:52.682Z

Reserved: 2026-11-20T23:52:03.518Z

Link: CVE-2026-134316

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-21T17:16:52.550

Modified: 2026-11-21T17:16:52.550

Link: CVE-2026-134316

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-21T22:45:02Z

Weaknesses