CVE-2026-134316
Published:November 21, 2026
Updated:November 23, 2026
@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 Packages
https://github.com/better-auth/better-auth.git (GITHUB):
Affected version(s) >=v1.5.0-beta.12 <v1.7.16Fix Suggestion:
Update to version v1.7.16https://github.com/better-auth/better-auth.git (GITHUB):
Affected version(s) >=v1.8.0-beta.0 <v1.8.0-beta.5Fix Suggestion:
Update to version v1.8.0-beta.5@better-auth/electron (NPM):
Affected version(s) >=1.5.0-beta.12 <1.7.16Fix Suggestion:
Update to version 1.7.16@better-auth/electron (NPM):
Affected version(s) >=1.8.0-beta.0 <1.8.0-beta.5Fix Suggestion:
Update to version 1.8.0-beta.5Related ResourcesĀ (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Insertion of Sensitive Information Into Sent Data
EPSS
Base Score:
0.31