CVE-2025-64762

CVE-2025-64762 is a critical-severity vulnerability in Workos Authkit-nextjs with a CVSS 3.x base score of 9.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-524.

Key facts

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.

Frequently asked questions

What is CVE-2025-64762?
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.
How severe is CVE-2025-64762?
CVE-2025-64762 has a CVSS 3.x base score of 9.1, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
Is CVE-2025-64762 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (25th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-64762?
CVE-2025-64762 affects Workos Authkit-nextjs. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-64762?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
Does CVE-2025-64762 have an EU (EUVD) identifier?
Yes. CVE-2025-64762 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-198354.
When was CVE-2025-64762 published?
CVE-2025-64762 was published on 2025-11-21 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Workos Authkit-nextjs

All CVEs affecting Workos Authkit-nextjs →

Other CWE-524 vulnerabilities

Browse all CWE-524 vulnerabilities →