Advisory

GHSA-pjr6-jx7r-j4r6

Also known as: CVE-2025-46344

Summary

Auth0 NextJS SDK v4 Missing Session Invalidation

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-04-29 18:54 UTC
Modified
2025-04-30 17:25 UTC

Affected packages and fixes

@auth0/nextjs-auth0

npm · All systems

Affected

  • introduced 4.0.1, fixed 4.5.1 (semver)

Fixed versions

4.5.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences