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

- Severity: High 7.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 39% of CVEs (2026-12-01)
- Published: 2025-06-04T20:14:44.369Z
- Modified: 2026-06-17T09:30:32.030Z
- Also known as: GHSA-f3fg-mf2q-fj3f
- Weaknesses: CWE-525
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- auth0 nextjs-auth0: >= 4.0.1, < 4.6.1
- @auth0/nextjs-auth0 (npm): from 4.0.1 before 4.6.1

## Every score

- GitHub_M: CVSS:4.0 7.7 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-f3fg-mf2q-fj3f> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-48947> (advisory)
- <https://github.com/auth0/nextjs-auth0/commit/12a62ca596db3b0827b39a4b865b882423e7cb1e> (web)
- <https://github.com/auth0/nextjs-auth0> (package)

## Sources

- CVE List: [CVE-2025-48947](https://www.cve.org/CVERecord?id=CVE-2025-48947), CVE Terms of Use, modified 2025-06-04
- GitHub Advisory Database: [GHSA-f3fg-mf2q-fj3f](https://github.com/advisories/GHSA-f3fg-mf2q-fj3f), CC-BY-4.0, modified 2025-06-04
- NVD: [CVE-2025-48947](https://nvd.nist.gov/vuln/detail/CVE-2025-48947), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-48947 · Whole record: https://cve.day/CVE-2025-48947.json · Rebuilt by cve.day 2026-11-25T22:58:58.764Z
