Intel

AIKIDO-2026-932738

@supabase/ssr is vulnerable to Insufficient Session Expiration

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 27, 2026
October 27, 2026

50

CVE Score

Medium

Insufficient Session Expiration

Are you affected? Scan for Free

TL;DR

createStorageFromOptions in src/cookies.ts writes a domain scoped cookie deletion before the host only deletion when cookieOptions.domain is set. When signOut() passes both entries through a name keyed store such as Next.js ResponseCookies, the later host only deletion replaces the domain scoped one, so the browser keeps the session cookie. The fix writes the host only deletion first so the domain scoped deletion remains.

How do I fix this?

Upgrade the @supabase/ssr package to version 0.12.3 or later.

Who does this affect?

You are affected if you use a version in the vulnerable range, configure cookieOptions.domain, and pass cookie deletions through a name-keyed store such as Next.js ResponseCookies when signing out.

Versions

0.12.0 - 0.12.2

Fixed in 0.12.3

Background info

@supabase/ssr is vulnerable to Insufficient Session Expiration in versions 0.12.0 - 0.12.2.

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