What is CVE-2026-134316?
CVE-2026-134316 is a high-severity information disclosure vulnerability in better-auth electron, published on 21 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-201
How severe is CVE-2026-134316?
CVE-2026-134316 scores 8.6 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- Low
- User interaction
- None
- Confidentiality
- High
- Integrity
- High
- Availability
- None
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
Which versions are affected by CVE-2026-134316?
2 open source packages ship an affected version, including %40better-auth/electron.
An affected version is exposed as installed. No special setting or call is needed.
| Package | Affected | Fixed in |
|---|---|---|
%40better-auth/electron npmpkg:npm/%40better-auth/electron | From 1.5.0-beta.12 | 1.7.16 |
%40better-auth/electron npmpkg:npm/%40better-auth/electron | From 1.8.0-beta.0 | 1.8.0-beta.5 |
How do I fix CVE-2026-134316?
Upgrade %40better-auth/electron to a fixed version for your release line: 1.8.0-beta.5 or 1.7.16.
Upgrade, and rotate any secrets that may have been exposed. More about Information disclosure.
Is CVE-2026-134316 being exploited?
There is no known exploitation of CVE-2026-134316 in the wild and no public exploit code.
Sources
Also known as GHSA-7rc3-jqv7-7gw2, GHSA-9p5w-h4pr-fcrc.