{"id":"CVE-2025-46344","published":"2025-04-29T20:43:41Z","modified":"2025-04-30T13:17:43Z","title":"Auth0 NextJS SDK v4 Missing Session Invalidation","vendor":"auth0","product":"nextjs-auth0","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00836,"percentile":0.54962,"provenance":"source"},"cwes":[{"id":"CWE-613","name":"DEPRECATED: Insufficient Session Expiration"}],"references":[{"url":"https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-pjr6-jx7r-j4r6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/auth0/nextjs-auth0/commit/a4f061aed02ffa132feca8adfbd11704df17e1c3","tags":["x_refsource_MISC"]},{"url":"https://github.com/auth0/nextjs-auth0/releases/tag/v4.5.1","tags":["x_refsource_MISC"]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":10.99},{"name":"CVSS severity","points":3.43}]},"vendorSlug":"auth0","affectedVersions":[{"vendor":"auth0","product":"nextjs-auth0","versions":[">= 4.0.1, < 4.5.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-30T13:17:34.099127Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@auth0/nextjs-auth0","vulnerableRanges":[">=4.0.1, <4.5.1"],"patched":["4.5.1"],"from":["GHSA-pjr6-jx7r-j4r6"],"provenance":"source"}],"summary":{"text":"The Auth0 Next.js SDK (nextjs-auth0) in versions from 4.0.1 before 4.5.1 fails to set an expiration time when generating the JWE session token, so the token carries no internal expiration claim and remains valid even after the session cookie expires or is cleared. An attacker with network access and low privileges (an authenticated account) can exploit this without user interaction or special configuration, and the resulting impact is high integrity compromise of the session.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:56Z"},"euvd":{"id":"EUVD-2025-12633","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-auth0-nextjs-auth0-cve-2025-46344","children":[{"from":"CVE-2025-46344","to":"CVE-2025-48947","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@auth0/nextjs-auth0","fromFixed":"4.5.1","toFixed":"4.6.1","daysApart":36},{"kind":"same-code","provenance":"machine","files":["src/server/cookies.ts"],"commits":["https://github.com/auth0/nextjs-auth0/commit/a4f061aed02ffa132feca8adfbd11704df17e1c3","https://github.com/auth0/nextjs-auth0/commit/12a62ca596db3b0827b39a4b865b882423e7cb1e"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2021-32702","published":"2021-06-25","fixed":"1.4.2","kev":false},{"cve":"CVE-2021-43812","published":"2021-12-16","fixed":"1.6.2","kev":false},{"cve":"CVE-2025-46344","published":"2025-04-29","fixed":"4.5.1","kev":false},{"cve":"CVE-2025-48947","published":"2025-06-04","fixed":"4.6.1","kev":false},{"cve":"CVE-2025-67490","published":"2025-12-10","fixed":"4.12.1","kev":false},{"cve":"CVE-2025-67716","published":"2025-12-11","fixed":"4.13.0","kev":false}],"package":"npm:@auth0/nextjs-auth0"}}