Skip to main content
← All vulnerabilities
CVE-2025-64762GHSA-P8PF-44FF-93GF

authkit-nextjs may let session cookies be cached in CDNs

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.11.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

The AuthKit library for Next.js provides convenient helpers for authentication and session management using WorkOS & AuthKit with Next.js. In authkit-nextjs version 2.11.0 and below, authenticated responses do not defensively apply anti-caching headers. In environments where CDN caching is enabled, this can result in session tokens being included in cached responses and subsequently served to multiple users. Next.js applications deployed on Vercel are unaffected unless they manually enable CDN caching by setting cache headers on authenticated paths. Patched in authkit-nextjs 2.11.1, which applies anti-caching headers to all responses behind authentication.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • workos authkit-nextjs

    fixed in 2.11.1

  • @workos-inc/authkit-nextjsnpm

    fixed in 2.11.1

References 3

GitHub · workos/authkit-nextjs