Skip to main content
VulnerabilityPublished Updated

Better Auth's multi-session sign-out hook allows forged cookies to revoke arbitrary sessions

Affects better-authSource GCVE Database

0

CVSS 2.0 Low : upgrade to 1.4.0 when convenient.

Data as of 27 Oct 2026, 00:07 UTC

CVSS 4.0 base score
2.0Low
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 1.4.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:L/VI:L/VA:L/SC:L/SI:L/SA:N

What to do

Upgrade better-auth to 1.4.0.

Affected software

ProductAffectedFixed in
npmbetter-authAffected
  • >=1.3.34 <1.4.0
Fixed in
  • 1.4.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

### Summary A vulnerability was identified in the multi-session plugin for Better Auth, specifically in the /sign-out after-hook. The hook trusts raw multi-session cookies and forwards the extracted values directly to internalAdapter.deleteSessions without verifying the cookie signature. Because cookie values are not validated with getSignedCookie (or any equivalent check), an attacker can supply a forged _multi-* cookie to trigger deletion of arbitrary session tokens.

References

Community reviews

Loading reviews…