CVE-2026-134316
JSON

8.6high

@better-auth/electron before 1.7.16 Auth Secret Disclosure and Two-Factor Bypass

Severity
8.6high CVSS:4.0 by VulnCheck
Exploit likelihood
0.31% (higher than 25% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
better-auth electronfrom 1.5.0-beta.12 before 1.7.16, from 1.8.0-beta.0 before 1.8.0-beta.5
Not affected: 1.7.16, 1.8.0-beta.5
CVE List

All scores

VulnCheck8.6high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
VulnCheck8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-201

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-134316 changed 2026-11-23CVE Terms of Use
NVDCVE-2026-134316 changed 2026-11-23Public domain