CVE-2026-134321: better-auth before 1.7.16 Session Revocation Bypass via Secondary Storage and Cookie Cache

Published Nov 21, 2026
·
Updated

better-auth from 0.8.1-beta.5 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5, and @better-auth/passkey from 1.6.25 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5, let revoked sessions stay valid because secondary storage session lists are updated non-atomically and some routes trust cookie-cached sessions. An attacker holding a valid session can evade bulk revocation or bans, or use a revoked cached session to register a passkey or create a lasting session.

Affected Software

2 affected components
npm/better-auth>=0.8.1-beta.5<1.7.16, >=1.8.0-beta.0<1.8.0-beta.5
npm/@better-auth/passkey>=1.6.25<1.7.16, >=1.8.0-beta.0<1.8.0-beta.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade better-auth to a version that resolves this vulnerability.

    Fixed in 1.7.16
  2. Upgrade

    Upgrade better-auth to a version that resolves this vulnerability.

    Fixed in 1.8.0-beta.5
  3. Upgrade

    Upgrade @better-auth/passkey to a version that resolves this vulnerability.

    Fixed in 1.7.16
  4. Upgrade

    Upgrade @better-auth/passkey to a version that resolves this vulnerability.

    Fixed in 1.8.0-beta.5

Event History

Nov 21, 2026
CVE Published
via MITRE·04:34 PM
Data Sourced
via MITRE·04:34 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Affected versions are better-auth from 0.8.1-beta.5 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5. The @better-auth/passkey package is affected from 1.6.25 before 1.7.16 and from 1.8.0-beta.0 before 1.8.0-beta.5.

2

What does an attacker need to exploit this issue?

The attacker must already hold a valid session. They can then attempt to retain access after bulk session revocation or a ban, including by using a revoked cookie-cached session.

3

What could an attacker do with a session that should have been revoked?

A revoked session may remain usable because secondary-storage session lists can be updated non-atomically and some routes trust cookie-cached sessions. This can allow the attacker to evade revocation or bans, register a passkey, or create a lasting session.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203