CVE-2025-46344
JSON

4.9medium

Auth0 NextJS SDK v4 Missing Session Invalidation

Severity
4.9medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.45% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-pjr6-jx7r-j4r6

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

Product or packageVersionsReported by
auth0 nextjs-auth0>= 4.0.1, < 4.5.1CVE List
@auth0/nextjs-auth0 (npm)from 4.0.1 before 4.5.1GitHub Advisory Database

All scores

GitHub_M4.9medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U

Classification

CWE-613

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
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.

NVD (es)

El SDK Auth0 Next.js es una librería para implementar la autenticación de usuarios en aplicaciones Next.js. Las versiones a partir de la 4.0.1 y anteriores a la 4.5.1 no invocan `.setExpirationTime` al generar un token JWE para la sesión. Por lo tanto, el JWE no contiene una notificación de expiración interna. Aunque la cookie de sesión pueda expirar o borrarse, el JWE sigue siendo válido. Este problema se ha corregido en la versión 4.5.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-46344 changed 2025-04-30CVE Terms of Use
GitHub Advisory DatabaseGHSA-pjr6-jx7r-j4r6 changed 2025-04-30CC-BY-4.0
NVDCVE-2025-46344 changed 2026-06-17Public domain