Vulnerabilityin Auth0 nextjs-auth0.
No public exploit found; not on exploited lists.
The Auth0 Next.js SDK is a library for implementing user authentication in Next.js applications. In Auth0 Next.js SDK versions 4.0.1 through 4.6.0, `__session` cookies set by auth0.middleware may be cached by CDNs due to missing Cache-Control headers. Three preconditions must be met in order for someone to be affected by the vulnerability: Applications using the NextJS-Auth0 SDK, versions between 4.0.1 to 4.6.0, applications using CDN or edge caching that caches responses with the Set-Cookie header, and if the Cache-Control header is not properly set for sensitive responses. Users should upgrade auth0/nextjs-auth0 to v4.6.1 to receive a patch.
- Upgrade nextjs-auth0 to 4.6.1 or later.
- Upgrade @auth0/nextjs-auth0 (npm) to 4.6.1 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 28 May 2025CVE ID reserved by GitHub_M.
- 4 Jun 2025Published in the CVE List.
- 4 Jun 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other nextjs-auth0 vulnerabilities
Same weakness:
- github.com x_refsource_CONFIRM
Patchminder. CVE-2025-48947: Vulnerability in Auth0 nextjs-auth0. https://patchminder.com/cve/cve-2025-48947/ (accessed 5 December 2026).