CVE-2025-64762CWE-524

CVE-2025-64762

Critical · published November 21, 2025

CVSS v3.1
9.1
EPSS
0%
Percentile
32.3
In the wild
Unconfirmed
What it is

⚡ A missed anti-caching header could let session tokens slip from one user to another! That's right, if you're using authkit-nextjs version 2.11.0 or below, you're risking a major mix-up! 🔥 Think of it like a restaurant where a server mistakenly serves the same meal to multiple tables without checking whose order is whose. If customers aren't careful, they might end up with someone else's dish and their secret ingredient! 🍽️ This flaw can lead to unauthorized access, as users may inadvertently receive another user's session token. Imagine the chaos when sensitive information is served on a silver platter to the wrong person! Attackers could exploit this mix-up to gain access to private areas of your application. Yikes! 😱

Put simply

Think of it like a restaurant where a server mistakenly serves the same meal to multiple tables without checking whose order is whose. If customers aren't careful, they might end up with someone else's dish and their secret ingredient! 🍽️ In authkit-nextjs versions 2.11.0 and below, authenticated responses lack anti-caching headers, allowing sensitive session tokens to be cached and served to multiple authenticated users. This flaw occurs in environments where CDN caching is enabled.

What to do

This flaw can lead to unauthorized access, as users may inadvertently receive another user's session token. Imagine the chaos when sensitive information is served on a silver platter to the wrong person! Attackers could exploit this mix-up to gain access to private areas of your application. Yikes! 😱 Upgrade to authkit-nextjs version 2.11.1 or above immediately to ensure anti-caching headers are applied correctly. Review your caching strategy and avoid setting cache headers on authenticated paths to prevent this from happening in the future. 🛡️ This is fixable! With these updates, you’ll have your authentication flows locked down tighter than a drum. You've got this! 💪✨

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00393 · 32.3th percentile
Weakness
CWE-524 · Use of Cache Containing Sensitive Information
Published
2025-11-21T07:15Z
Affected products (1)
ProductVersionsFixed in
workos/authkit-nextjs< 2.11.12.11.1
References (3)
EPSS history
Timeline
  • 21 NOV 01:29Z
    authkit-nextjs may let session cookies be cached in CDNs
    cvelistv5