Description
Overview In Auth0 Next.js SDK versions 4.0.1 to 4.6.0, __session cookies set by auth0.middleware may be cached by CDNs due to missing Cache-Control headers.
Recommendation
Update the @auth0/nextjs-auth0 package to the latest compatible version. Followings are version details:
- Affected version(s): >= 4.0.1, <= 4.6.0
- Patched version(s): 4.6.1
References
Related Issues
- Auth0 NextJS SDK v4 Missing Session Invalidation - CVE-2025-46344
- Improper Request Caching Lookup in the Auth0 Next.js SDK - CVE-2025-67490
- authkit-nextjs may let session cookies be cached in CDNs - CVE-2025-64762
- Improper Validation of Query Parameters in Auth0 Next.js SDK - CVE-2025-67716
- Tags:
- npm
- @auth0/nextjs-auth0
Anything's wrong? Let us know Last updated on June 04, 2025