# CVE-2025-48947: NextJS-Auth0 SDK Vulnerable to CDN Caching of Session Cookies

> CVE-2025-48947: NextJS-Auth0 SDK Vulnerable to CDN Caching of Session Cookies. CVSS 7.7 (CVSS 4.0).

Canonical: https://rewindex.com/cve/CVE-2025-48947
Last updated: 2026-06-17T09:30:32Z

- Published: 2025-06-04 20:14 UTC · Updated: 2026-06-17 09:30 UTC · Assigner: GitHub\_M
- CVSS: 7.7 (CVSS 4.0) · Severity: High
- EPSS: 0.43%, 37th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-525

## 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.

## Affected vendors and products

- auth0: nextjs-auth0

## Tracked companies

- [Auth0](https://rewindex.com/company/auth0.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-48947)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-48947)
- [https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-f3fg-mf2q-fj3f](https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-f3fg-mf2q-fj3f)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2025-48947 · Markdown: https://rewindex.com/cve/CVE-2025-48947.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-48947 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:13:18.537Z
