Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @workos-inc/authkit-nextjs
  4. ›
  5. CVE-2025-64762

CVE-2025-64762: authkit-nextjs may let session cookies be cached in CDNs

November 20, 2025 (updated November 21, 2025)

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.

References

  • github.com/advisories/GHSA-p8pf-44ff-93gf
  • github.com/workos/authkit-nextjs
  • github.com/workos/authkit-nextjs/commit/94cf438124993abb0e7c19dac64c3cb5724a15ea
  • github.com/workos/authkit-nextjs/releases/tag/v2.11.1
  • github.com/workos/authkit-nextjs/security/advisories/GHSA-p8pf-44ff-93gf
  • nvd.nist.gov/vuln/detail/CVE-2025-64762

Code Behaviors & Features

Detect and mitigate CVE-2025-64762 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.11.1

Fixed versions

  • 2.11.1

Solution

Upgrade to version 2.11.1 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-524: Use of Cache Containing Sensitive Information

Source file

npm/@workos-inc/authkit-nextjs/CVE-2025-64762.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 05 Dec 2025 12:19:30 +0000.