CVE-2026-134316
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 package | Versions | Reported by |
|---|---|---|
| better-auth electron | from 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
| VulnCheck | 8.6high CVSS:4.0 | 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 |
| VulnCheck | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-134316 changed 2026-11-23 | CVE Terms of Use |
| NVD | CVE-2026-134316 changed 2026-11-23 | Public domain |