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.
You are affected if you are using Auth0 NextJS SDK v4.
Upgrade to v4.5.1.
{
"cwe_ids": [
"CWE-613"
],
"github_reviewed": true,
"github_reviewed_at": "2025-04-29T18:54:49Z",
"nvd_published_at": "2025-04-29T21:15:51Z",
"severity": "MODERATE"
}