CVE-2025-46344 Details
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.
A vulnerability exists in the Auth0 Next.js SDK, specifically in versions 4.0.1 through 4.5.0. The issue arises because the SDK does not call '.setExpirationTime' when creating a JWE token for the session. Consequently, the JWE lacks an internal expiration claim. While the session cookie may expire or be deleted, the JWE remains valid, potentially allowing for unauthorized session persistence.
Upgrade to Auth0 Next.js SDK version 4.5.1 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 29, 2025CISA-ADP
Assessed Apr 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/auth0/nextjs-auth0/commit/a4f061aed02ffa132feca8adfbd11704df17e1c3 | [email protected] | Source CodeVendor |
| https://github.com/auth0/nextjs-auth0/releases/tag/v4.5.1 | [email protected] | Release NotesVendor |
| https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-pjr6-jx7r-j4r6 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-613 | Insufficient Session Expiration | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Auth0 Next.js SDK | >= 4.0.1, < 4.5.1 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2025 | New CVE Received | [email protected] |
Volerion