Vulnerability DatabaseGHSA-fvxx-76fc-893x

GHSA-fvxx-76fc-893x: 
JavaScript vulnerability analysis and mitigation

Am I affected?

You are affected if you use better-auth with any of these:

  • secondaryStorage, from 0.8.1-beta.5.
  • session.cookieCache with passkey registration, device authorization, or passwordless two-factor enrollment, from 1.6.25.

Summary

Bulk revocation. With secondary storage, two session changes at the same time could drop a session from the user's session list. Revoking all sessions or banning the user then missed it. Cached sessions. With the cookie cache, a revoked session keeps working until the cache maxAge ends, which is documented. Some features accepted that cached session to create a passkey or a new stored session that outlived the cache.

Impact

Both problems need an attacker who already holds a valid session for the account. They let that attacker keep access after the session is revoked. Neither problem gives access to an account without credentials.

Patches

Upgrade better-auth and @better-auth/passkey to 1.7.16, or to 1.8.0-beta.5 on the beta line. Passkey registration, device authorization, two-factor enrollment and verification, social account linking, and phone number changes now check the session store, even with the cookie cache on. On 1.7.16, sessions created from API keys are refused on these routes, except two-factor enrollment and phone number changes. On 1.8.0-beta.5, they are refused on all of them.

Workarounds

Turn off session.cookieCache if revocation must take effect immediately. For bulk revocation, stop using secondaryStorage until you upgrade.

Technical details

The secondary storage session list is updated by reading and writing it in two steps, so concurrent writers could drop a token. Bulk revocation now also records a cutoff time, and sessions created before it count as revoked even when the list missed them. The affected routes now read the session from the store instead of the cookie cache before creating a lasting credential or session.


Source: NVD

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-133867CRITICAL9.1
  • JavaScript logoJavaScript
  • @fastify/express
NoYesNov 21, 2026
CVE-2026-133250CRITICAL9.1
  • JavaScript logoJavaScript
  • @fastify/middie
NoYesNov 21, 2026
CVE-2026-133120CRITICAL9.1
  • JavaScript logoJavaScript
  • @fastify/express
NoYesNov 21, 2026
CVE-2026-133312MEDIUM5.3
  • JavaScript logoJavaScript
  • @fastify/rate-limit
NoYesNov 21, 2026
CVE-2026-133273LOW3.7
  • JavaScript logoJavaScript
  • @fastify/swagger-ui
NoYesNov 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management