Intel

AIKIDO-2026-153448

@better-auth/passkey is vulnerable to Insufficient Session Expiration

GHSA-fvxx-76fc-893xPublished 6 days ago
November 4, 2026

42

CVE Score

Medium

Insufficient Session Expiration

Are you affected? Scan for Free

TL;DR

The Better Auth passkey plugin accepts cached sessions when registering a passkey, even after the session has been revoked in the session store. An attacker who already holds a valid session can use it during the cache lifetime to register a passkey and keep access after the cached session expires.

How do I fix this?

Upgrade both @better-auth/passkey and better-auth to the patch version. Until you upgrade, disable session.cookieCache if revocation must take effect immediately.

Who does this affect?

You are affected if you use @better-auth/passkey within the vulnerable range and enable session.cookieCache in Better Auth. Exploitation requires an attacker who already holds a session for the account.

Versions

1.6.25 - 1.7.15

Fixed in 1.7.16

Background info

@better-auth/passkey is vulnerable to Insufficient Session Expiration in versions 1.6.25 - 1.7.15.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea