{"id":"CVE-2025-46344","aliases":["CVE-2025-46344","GHSA-pjr6-jx7r-j4r6"],"related":[],"kind":"vulnerability","state":"published","title":"Auth0 NextJS SDK v4 Missing Session Invalidation","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Overview\nAuth0 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.\n\n### Am I Affected?\nYou are affected if you are using Auth0 NextJS SDK v4.\n\n### Fix\nUpgrade to `v4.5.1`.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-04-29T18:54:49.000Z","modified":"2026-06-17T09:26:16.387Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS: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","score":4.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS: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","score":4.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS: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","rating":"MEDIUM"}],"cwes":["CWE-613"],"affected":[{"ranges":[{"version":">= 4.0.1, < 4.5.1","status":"affected"}],"vendor":"auth0","product":"nextjs-auth0","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"4.0.1","status":"affected","fixed":"4.5.1"}],"ecosystem":"npm","package":"@auth0/nextjs-auth0","purl":"pkg:npm/%40auth0/nextjs-auth0","source":"ghsa"}],"references":[{"url":"https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-pjr6-jx7r-j4r6","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/auth0/nextjs-auth0/commit/a4f061aed02ffa132feca8adfbd11704df17e1c3","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/auth0/nextjs-auth0/releases/tag/v4.5.1","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46344","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/auth0/nextjs-auth0","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-30T13:17:34.099Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-46344","url":"https://www.cve.org/CVERecord?id=CVE-2025-46344","licence":"CVE Terms of Use","modified":"2025-04-30T13:17:43.169Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pjr6-jx7r-j4r6","url":"https://github.com/advisories/GHSA-pjr6-jx7r-j4r6","licence":"CC-BY-4.0","modified":"2025-04-30T17:25:56.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-46344","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46344","licence":"Public domain","modified":"2026-06-17T09:26:16.387Z"}],"updatedAt":"2026-11-25T22:58:57.131Z","epss":{"score":0.00447,"percentile":0.40581,"date":"2026-12-01T12:00:22.000Z"}}