Authentication and Session Management Vulnerability in AuthKit for Next.js
CVE-2025-64762
What is CVE-2025-64762?
The AuthKit library, utilized for authentication and session management in Next.js applications, suffers from a significant vulnerability in versions prior to 2.11.1. This vulnerability allows session tokens to inadvertently be cached in environments leveraging CDN caching. As a result, these tokens could be served to unauthorized users, leading to potential session hijacking and exposure of sensitive user data. Applications deployed on Vercel remain unaffected unless CDN caching is manually enabled by setting cache headers on authenticated routes. The vulnerability has been resolved in version 2.11.1, which implements necessary anti-caching headers for all authenticated responses.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
authkit-nextjs < 2.11.1
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
