CVE-2025-64762

authkit-nextjs may let session cookies be cached in CDNs

Published Nov 21, 2025 CVSS 4.0 · 8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-p8pf-44ff-93gf authkit-nextjs may let session cookies be cached in CDNs
History
Type Values Removed Values Added
First Time appeared Workos authkit-nextjs
CPEs cpe:2.3:a:workos:authkit:*:*:*:*:*:node.js:*:* cpe:2.3:a:workos:authkit-nextjs:*:*:*:*:*:node.js:*:*
Vendors & Products Workos authkit-nextjs
Type Values Removed Values Added
CPEs cpe:2.3:a:workos:authkit:*:*:*:*:*:node.js:*:*
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Workos
Workos authkit
Vendors & Products Workos
Workos authkit
Type Values Removed Values Added
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.
Title authkit-nextjs may let session cookies be cached in CDNs
Weaknesses CWE-524
References
Metrics cvssV4_0

{'score': 8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 24, 2025, 6:09 PM
Reserved
Nov 10, 2025, 10:29 PM
Status
Analyzed
Published
Nov 21, 2025, 2:15 AM
Modified
Oct 7, 2026, 9:10 PM