CVE-2025-46344: Auth0 NextJS SDK v4 Missing Session Invalidation
Overview Auth0 NextJS v4.0.1 to v4.5.0 does not invoke .setExpirationTime when generating a JWE token for the session. As a result, the JWE does not contain an internal expiration claim. While the session cookie may expire or be cleared, the JWE remains valid. Am I Affected? You are affected if you are using Auth0 NextJS SDK v4. Fix Upgrade to v4.5.1.
Published Apr 29, 2025 · Updated Apr 30, 2025
Affected packages
@auth0/nextjs-auth0
- Ecosystem
- npm
- Affected
- >= 4.0.1, < 4.5.1
- Fixed in
- 4.5.1
- Check
npm ls @auth0/nextjs-auth0
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Overview
Auth0 NextJS v4.0.1 to v4.5.0 does not invoke .setExpirationTime when generating a JWE token for the session. As a result, the JWE does not contain an internal expiration claim. While the session cookie may expire or be cleared, the JWE remains valid.
Am I Affected?
You are affected if you are using Auth0 NextJS SDK v4.
Fix
Upgrade to v4.5.1.
References
- https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-pjr6-jx7r-j4r6
- https://github.com/auth0/nextjs-auth0/commit/a4f061aed02ffa132feca8adfbd11704df17e1c3
- https://github.com/auth0/nextjs-auth0/releases/tag/v4.5.1
- https://nvd.nist.gov/vuln/detail/CVE-2025-46344
- https://github.com/advisories/GHSA-pjr6-jx7r-j4r6
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-40155
Auth0 Next.js SDK has Improper Proxy Cache Lookup
medium5.4Apr 21, 2026CVE-2025-67490
Improper Request Caching Lookup in the Auth0 Next.js SDK
medium5.4Dec 10, 2025CVE-2025-67716
Improper Validation of Query Parameters in Auth0 Next.js SDK
low3.7Dec 10, 2025CVE-2025-48947
NextJS-Auth0 SDK Vulnerable to CDN Caching of Session Cookies
high7.7Jun 4, 2025
