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

- Severity: High 8.0 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2025-11-20T21:29:16.000Z
- Modified: 2026-10-07T21:10:00.200Z
- Also known as: GHSA-p8pf-44ff-93gf
- Weaknesses: CWE-524
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- workos authkit-nextjs: < 2.11.1; before 2.11.1
- @workos-inc/authkit-nextjs (npm): before 2.11.1

## Every score

- GitHub_M: CVSS:4.0 8.0 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/workos/authkit-nextjs/security/advisories/GHSA-p8pf-44ff-93gf> (patch, third-party-advisory, web)
- <https://github.com/workos/authkit-nextjs/commit/94cf438124993abb0e7c19dac64c3cb5724a15ea> (patch, web)
- <https://github.com/workos/authkit-nextjs/releases/tag/v2.11.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-64762> (advisory)
- <https://github.com/workos/authkit-nextjs> (package)

## Sources

- CVE List: [CVE-2025-64762](https://www.cve.org/CVERecord?id=CVE-2025-64762), CVE Terms of Use, modified 2025-11-24
- GitHub Advisory Database: [GHSA-p8pf-44ff-93gf](https://github.com/advisories/GHSA-p8pf-44ff-93gf), CC-BY-4.0, modified 2025-11-21
- NVD: [CVE-2025-64762](https://nvd.nist.gov/vuln/detail/CVE-2025-64762), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2025-64762 · Whole record: https://cve.day/CVE-2025-64762.json · Rebuilt by cve.day 2026-11-25T22:59:07.887Z
