CVE-2026-134316
published high CVSS 4.0 · 8.6@better-auth/electron before 1.7.16 Auth Secret Disclosure and Two-Factor Bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| better-auth | — | electron1.5.0-beta.12 to < 1.7.16 (affected · semver) · 1.7.16 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| better-auth | — | electron1.8.0-beta.0 to < 1.8.0-beta.5 (affected · semver) · 1.8.0-beta.5 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.1 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| better-auth | electron | 1.5.0-beta.12 to < 1.7.16 (affected · semver)1.7.16 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| better-auth | electron | 1.8.0-beta.0 to < 1.8.0-beta.5 (affected · semver)1.8.0-beta.5 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-201 Insertion of Sensitive Information Into Sent Data
References
2- GitHub Security Advisory (GHSA-9p5w-h4pr-fcrc) https://github.com/better-auth/better-auth/security/advisories/GHSA-9p5w-h4pr-fcrc
- VulnCheck Advisory: @better-auth/electron before 1.7.16 Auth Secret Disclosure and Two-Factor Bypass https://www.vulncheck.com/advisories/better-auth-electron-before-1.7.16-auth-secret-disclosure-and-two-factor-bypass
Provider assertions
2VulnCheck · cna
@better-auth/electron before 1.7.16 Auth Secret Disclosure and Two-Factor Bypass
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2e0e59c9da3afa8560e490154feeb8be06662bf0f121dcddc6065e21500789fd
- Ingested
- 23 Nov 2026, 21:39:05 UTC
- Source record
- Official CVE record