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
- Severity: Critical (CVSS 3.x base score 9.1)
- CVSS v4: 8.0
- EPSS exploit prediction: 0% (25th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-198354
- Weakness: CWE-524
- Affected product: Workos Authkit-nextjs
- Published:
- Last modified:
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
- https://github.com/workos/authkit-nextjs/commit/94cf438124993abb0e7c19dac64c3cb5724a15ea
- https://github.com/workos/authkit-nextjs/releases/tag/v2.11.1
- https://github.com/workos/authkit-nextjs/security/advisories/GHSA-p8pf-44ff-93gf
Affected products (1)
- cpe:2.3:a:workos:authkit-nextjs:*:*:*:*:*:node.js:*:*
More vulnerabilities in Workos Authkit-nextjs
- CVE-2024-51752 — Medium (CVSS 5.5): The AuthKit library for Next.js provides convenient helpers for authentication and session management using WorkOS &…
- CVE-2024-29901 — Medium (CVSS 4.8): The AuthKit library for Next.js provides helpers for authentication and session management using WorkOS & AuthKit with…
All CVEs affecting Workos Authkit-nextjs →
Other CWE-524 vulnerabilities
- CVE-2026-53943 — Critical (CVSS 9.6): Ghost is a Node.js content management system. From until 6.37.0, when Ghost is behind a shared caching layer that…
- CVE-2026-50170 — High (CVSS 7.5): Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and…
- CVE-2026-48901 — High (CVSS 7.5): The InputFilter::getInstance() method omitted a security sensitive parameter from the instance cache key.
- CVE-2024-27917 — High (CVSS 7.5): Shopware is an open commerce platform based on Symfony Framework and Vue. The Symfony Session Handler pops the Session…
- CVE-2021-24027 — High (CVSS 7.5): A cache configuration issue prior to WhatsApp for Android v2.21.4.18 and WhatsApp Business for Android v2.21.4.18 may…
- CVE-2024-45596 — High (CVSS 7.4): Directus is a real-time API and App dashboard for managing SQL database content. An unauthenticated user can access…