CVE-2025-64762
Published:November 21, 2025
Updated:May 16, 2026
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.
Affected Packages
https://github.com/workos/authkit-nextjs.git (GITHUB):
Affected version(s) >=v0.1.0 <v2.11.1Fix Suggestion:
Update to version v2.11.1@workos-inc/authkit-nextjs (NPM):
Affected version(s) >=0.4.0 <2.11.1Fix Suggestion:
Update to version 2.11.1Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
8
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
UNREPORTED
CVSS v3
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Use of Cache Containing Sensitive Information
EPSS
Base Score:
0.08