Skip to content

Auth0 NextJS SDK v4 Missing Session Invalidation

Moderate
kevinroh-okta published GHSA-pjr6-jx7r-j4r6 Apr 29, 2025

Package

npm @auth0/nextjs-auth0 (npm)

Affected versions

>=4.0.1, <4.5.1

Patched versions

>=4.5.1

Description

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 or greater.

Severity

Moderate

CVE ID

CVE-2025-46344

Weaknesses

No CWEs