๐Ÿ” CVE Alert

CVE-2026-134316

HIGH 8.1

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

CVSS Score
8.1
EPSS Score
0.3%
EPSS Percentile
24th

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

CWE CWE-201
Vendor better-auth
Product electron
Published Nov 21, 2026
Last Updated Nov 23, 2026
Stay Ahead of the Next One

Get instant alerts for better-auth electron

Be the first to know when new high vulnerabilities affecting better-auth electron are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Affected Versions

better-auth / electron
1.5.0-beta.12 < 1.7.16
better-auth / electron
1.8.0-beta.0 < 1.8.0-beta.5

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/better-auth/better-auth/security/advisories/GHSA-9p5w-h4pr-fcrc vulncheck.com: https://www.vulncheck.com/advisories/better-auth-electron-before-1.7.16-auth-secret-disclosure-and-two-factor-bypass

Credits

octane-security-team shbhmantil