CVE-2025-48947
published high CVSS 4.0 · 7.7NextJS-Auth0 SDK Vulnerable to CDN Caching of Session Cookies
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| auth0 | — | nextjs-auth0>= 4.0.1, < 4.6.1 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| auth0 | nextjs-auth0 | >= 4.0.1, < 4.6.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-525 CWE-525: Use of Web Browser Cache Containing Sensitive Information
References
1Provider assertions
2GitHub_M · cna
NextJS-Auth0 SDK Vulnerable to CDN Caching of Session Cookies
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e42ce0758c15403c93589fcea5bfbd6b52649cb4dfa61fbc6ff5b82b950d5759
- Ingested
- 23 Sep 2026, 08:50:57 UTC
- Source record
- Official CVE record