Vulnerability

CVE-2025-64762

highCVSS 4.0 8.0Published 21 Nov 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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 products

From the NVD's configuration data (CPE), vendor first.

  • Workos authkit-nextjs

Weakness type

References

  • github.com /workos/authkit-nextjs/commit/94cf438124993abb0e7c19dac64c3…
  • github.com /workos/authkit-nextjs/releases/tag/v2.11.1
  • github.com /workos/authkit-nextjs/security/advisories/GHSA-p8pf-44ff-9…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning