CVE-2025-48947 in Auth0 products
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 affect...
Affects 0 products from 2 vendors. Facts below cite their sources.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-48947 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-039108-I |
| Published | 2025-06-04 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-525: CWE-525
Related attack patterns (CAPEC)
CAPEC-37 Retrieve Embedded Sensitive Data via CWE-525
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
The Auth0 Next.js SDK versions 4.0.1 through 4.6.0 are vulnerable to session cookie caching by CDNs due to missing Cache-Control headers, potentially exposing sensitive authentication data.
An attacker could exploit this vulnerability by intercepting cached `__session` cookies from a CDN, which could lead to unauthorized access to user sessions if the preconditions are met.
Questions
What is CVE-2025-48947?
The Auth0 Next.js SDK versions 4.0.1 through 4.6.0 are vulnerable to session cookie caching by CDNs due to missing Cache-Control headers, potentially exposing sensitive authentication data.
Is CVE-2025-48947 actively exploited?
No confirmed active exploitation of CVE-2025-48947 as of 2026-09-25.
How do I remediate CVE-2025-48947?
Priority: HIGH.
What systems are affected by CVE-2025-48947?
CVE-2025-48947 affects Auth0; Three.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Auth0","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.