{"id":"CVE-2026-134316","aliases":["CVE-2026-134316"],"related":[],"kind":"vulnerability","state":"published","title":"@better-auth/electron before 1.7.16 Auth Secret Disclosure and Two-Factor Bypass","summary":"@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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"@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.","source":"cvelist"}],"published":"2026-11-21T16:34:52.682Z","modified":"2026-11-23T22:20:13.290Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.6,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"}],"cwes":["CWE-201"],"affected":[{"ranges":[{"type":"semver","introduced":"1.5.0-beta.12","fixed":"1.7.16","status":"affected"},{"type":"semver","version":"1.7.16","status":"unaffected"}],"vendor":"better-auth","product":"electron","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.8.0-beta.0","fixed":"1.8.0-beta.5","status":"affected"},{"type":"semver","version":"1.8.0-beta.5","status":"unaffected"}],"vendor":"better-auth","product":"electron","source":"cvelist"}],"references":[{"url":"https://github.com/better-auth/better-auth/security/advisories/GHSA-9p5w-h4pr-fcrc","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/better-auth-electron-before-1.7.16-auth-secret-disclosure-and-two-factor-bypass","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["octane-security-team","shbhmantil"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-23T21:32:28.861Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-134316","url":"https://www.cve.org/CVERecord?id=CVE-2026-134316","licence":"CVE Terms of Use","modified":"2026-11-23T21:32:37.760Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-134316","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134316","licence":"Public domain","modified":"2026-11-23T22:20:13.290Z"}],"updatedAt":"2026-11-25T22:59:52.540Z","epss":{"score":0.00306,"percentile":0.25249,"date":"2026-12-01T12:00:22.000Z"}}