{"cve":"CVE-2025-64762","nvd":{"published":"2025-11-21T02:15:44.077","modified":"2026-10-07T21:10:00.200","status":"Analyzed","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.","cvss_v4":{"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","score":8.0},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1},"cwes":["CWE-524"],"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"],"products":["workos:authkit-nextjs"],"source":"nvd","synced_at":"2026-10-19T22:16:02.354564667+00:00"},"epss":{"cve":"CVE-2025-64762","score":0.00393,"percentile":0.33186,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-p8pf-44ff-93gf","url":"https://osv.dev/vulnerability/GHSA-p8pf-44ff-93gf","summary":"authkit-nextjs may let session cookies be cached in CDNs","modified":"2025-11-21T15:32:21Z","packages":[{"ecosystem":"npm","name":"@workos-inc/authkit-nextjs","purl":"pkg:npm/%40workos-inc/authkit-nextjs","ranges":["<2.11.1"],"fixed":["2.11.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}