{"id":"CVE-2026-134316","aliases":["GHSA-9p5w-h4pr-fcrc"],"title":"@better-auth/electron before 1.7.16 Auth Secret Disclosure and Two-Factor Bypass","originalDescription":"@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.","severity":{"cvss":8.6,"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","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00432,"percentile":0.29344},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"electron","range":">=1.5.0-beta.12, <1.7.16","fixed":"1.7.16"},{"ecosystem":"vendor","name":"electron","range":">=1.8.0-beta.0, <1.8.0-beta.5","fixed":"1.8.0-beta.5"}],"references":[{"url":"https://github.com/better-auth/better-auth/security/advisories/GHSA-9p5w-h4pr-fcrc","type":"vendor-advisory"},{"url":"https://www.vulncheck.com/advisories/better-auth-electron-before-1.7.16-auth-secret-disclosure-and-two-factor-bypass","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134316.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134316","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-23T22:38:40.361Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134316","license":"NVD terms of use","firstSeenAt":"2026-11-21T17:43:05.323Z"},{"name":"osv","at":"2026-11-21T18:49:33.963Z","url":"https://osv.dev/vulnerability/CVE-2026-134316","license":"CC-BY 4.0","firstSeenAt":"2026-11-21T18:16:32.206Z"},{"name":"cvelistV5","at":"2026-11-24T13:30:14.933Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-134316","license":"CVE Terms of Use","firstSeenAt":"2026-11-21T17:07:33.770Z"}],"firstSeenAt":"2026-11-21T17:07:33.770Z","publishedAt":"2026-11-21T16:34:52.682Z","modifiedAt":"2026-11-23T22:20:13.290Z"}