Skip to main content
VulnerabilityPublished Updated

CVE-2025-64762: workos authkit-nextjs · Use of Cache Containing Sensitive Information

Affects workos authkit-nextjsSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.0 High : upgrade to 2.11.1 soon.

Data as of 29 Oct 2026, 14:41 UTC

CVSS 4.0 base score
8.0High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 33% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.11.1
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade workos authkit-nextjs to 2.11.1.

Affected software

ProductAffectedFixed in
npmauthkit-nextjspkg:npm/authkit-nextjsOther threatsAffected
  • <2.11.1
Fixed in
  • 2.11.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately upgrade authkit-nextjs to version 2.11.1 or later to ensure anti-caching headers are applied to all authenticated responses. Review and audit CDN configurations to confirm that caching is disabled on any endpoints handling authentication or session tokens. Implement strict cache-control headers such as 'Cache-Control: no-store, no-cache, must-revalidate, proxy-revalidate' and 'Pragma: no-cache' on all sensitive routes. Conduct penetration testing and code reviews to verify that no other endpoints inadvertently expose sensitive data via caching. For organizations using custom or third-party CDNs, enforce policies that prevent caching of authenticated content. Additionally, monitor access logs and CDN cache hit/miss ratios for anomalies that could indicate token leakage. Educate development teams on secure caching practices and the risks of caching sensitive information. Finally, consider implementing short-lived session tokens and multi-factor authentication to reduce the impact of any potential token exposure.

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.

References

Community reviews

Loading reviews…