This entry duplicated another and was withdrawn in its favour.
Superseded by ETK-2026-1612.
ETK-2026-362Zero's internal tracking ID, independent of the CVE number.
withdrawndescription
better-auth versions 1.4.0-beta.18 through 1.7.6 can allow account impersonation when Magic Link and social or Generic OAuth sign-in are enabled with database-backed OAuth state and affected token-storage settings. An unauthenticated attacker who knows an email address may obtain a session for that account without access to its mailbox.
mitigation
Upgrade better-auth to 1.7.7 and keep its related adapters, plugins, and integrations on the corresponding release. Until upgraded, use cookie-backed OAuth state or disable Magic Link or social/Generic OAuth sign-in.
fixed in 1.7.7
outcome
Contextual: an exploit technique exists, but no deterministic check could cover this one.
source signals
Public signals that triggered or updated the pipeline. These are inputs for the deltas above.
No signals recorded for this entry yet.
this entry in the feed
GET /api/v1/feed/ETK-2026-362
{ "etk_id": "ETK-2026-362", "cve_id": null, "display_id": "ETK-2026-362", "ghsa_id": null, "euvd_id": null, "status": "retired", "anchor_state": "awaiting_cve", "title": "Authentication bypass in better-auth Magic Link OAuth flows", "summary": "better-auth versions 1.4.0-beta.18 through 1.7.6 can allow account impersonation when Magic Link and social or Generic OAuth sign-in are enabled with database-backed OAuth state and affected token-storage settings. An unauthenticated attacker who knows an email address may obtain a session for that account without access to its mailbox.", "mitigation": "Upgrade better-auth to 1.7.7 and keep its related adapters, plugins, and integrations on the corresponding release. Until upgraded, use cookie-backed OAuth state or disable Magic Link or social/Generic OAuth sign-in.", "vendor": "npm", "product": "npm:better-auth", "affected": [ { "affected_notes": [], "affected_ranges": [ ">= 1.4.0-beta.18, < 1.7.7" ], "ecosystem": "npm", "fixed_versions": [ "1.7.7" ], "package_name": "better-auth", "purl": "pkg:npm/better-auth" } ], "cwes": [ 287 ], "cvss_score": 9.1, "cvss_src": "cna_vendor", "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N", "epss_score": null, "epss_percentile": null, "epss_asof": null, "automation": "contextual", "check": false, "check_confidence_basis": null, "exploit": false, "pipeline_minutes": null, "t0_at": null, "signals": {} }
published 2026-10-02 17:46Z
last change 2026-10-14 23:24Z
Need the technical details behind an entry?
Every entry here shows what we attempted and when. The technical details, the generated exploit that fired it and the evidence behind the verdict are not public. Tell us about your use case and we’ll get back to you about extended API access.