# CVE-2026-134316: @better-auth/electron before 1.7.16 Auth Secret Disclosure and Two-Factor Bypass

- Severity: High 8.6 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-11-21T16:34:52.682Z
- Modified: 2026-11-23T22:20:13.290Z
- Weaknesses: CWE-201
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- 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)

## Every score

- VulnCheck: CVSS:4.0 8.6 High `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: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/better-auth/better-auth/security/advisories/GHSA-9p5w-h4pr-fcrc> (vendor-advisory)
- <https://www.vulncheck.com/advisories/better-auth-electron-before-1.7.16-auth-secret-disclosure-and-two-factor-bypass> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-134316](https://www.cve.org/CVERecord?id=CVE-2026-134316), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-134316](https://nvd.nist.gov/vuln/detail/CVE-2026-134316), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-134316 · Whole record: https://cve.day/CVE-2026-134316.json · Rebuilt by cve.day 2026-11-25T22:59:52.540Z
