Skip to content
OpenAdvisories
Medium · 4.9 CVE-2025-46344 EUVD-2025-12633GHSA-pjr6-jx7r-j4r6

Auth0 NextJS SDK v4 Missing Session Invalidation

Published Apr 29, 2025 · Updated Apr 30, 2025 · Assigned by GitHub_M

Description

The Auth0 Next.js SDK is a library for implementing user authentication in Next.js applications. Versions starting from 4.0.1 and prior to 4.5.1, do 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. This issue has been patched in version 4.5.1.

Affected products

VendorProductAffectedFixed
auth0 nextjs-auth0 >= 4.0.1, < 4.5.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @auth0/nextjs-auth0 >= 4.0.1, < 4.5.1 4.5.1 GHSA-pjr6-jx7r-j4r6

References