CVE-2026-40155: Auth0 Next.js SDK has Improper Proxy Cache Lookup
Description In affected versions of the Next.js SDK, simultaneous requests that trigger a nonce retry may cause the proxy cache fetcher to perform improper lookups for the token request results. Which Projects are Affected? Users are affected if they meet all of the following preconditions: - Applications using the auth0/nextjs-auth0 SDK, versions 4.12.0 to 4.17.0, and - Applications using the proxy handler /me/ and…
Published Apr 21, 2026
Affected packages
@auth0/nextjs-auth0
- Ecosystem
- npm
- Affected
- >= 4.12.0, <= 4.17.0
- Fixed in
- 4.18.0
- Check
npm ls @auth0/nextjs-auth0
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Description
In affected versions of the Next.js SDK, simultaneous requests that trigger a nonce retry may cause the proxy cache fetcher to perform improper lookups for the token request results.
Which Projects are Affected?
Users are affected if they meet all of the following preconditions:
- Applications using the auth0/nextjs-auth0 SDK, versions 4.12.0 to 4.17.0, and
- Applications using the proxy handler /me/* and /my-org/* with DPoP enabled.
Affected product and versions
Auth0/nextjs-auth0 v4.12.0 to 4.17.0
Resolution
Upgrade Auth0/nextjs-auth0 version to v4.18.0 or greater
Acknowledgements
Okta would like to thank Reynaldo Immanuel for their discovery and responsible disclosure.
References
- https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-xq8m-7c5p-c2r6
- https://nvd.nist.gov/vuln/detail/CVE-2026-40155
- https://github.com/auth0/nextjs-auth0/commit/98c36dc306970c2230ea1a32efef431d29b99978
- https://github.com/auth0/nextjs-auth0/releases/tag/v4.18.0
- https://github.com/advisories/GHSA-xq8m-7c5p-c2r6
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2025-67490
Improper Request Caching Lookup in the Auth0 Next.js SDK
medium5.4Dec 10, 2025CVE-2025-67716
Improper Validation of Query Parameters in Auth0 Next.js SDK
low3.7Dec 10, 2025CVE-2025-48947
NextJS-Auth0 SDK Vulnerable to CDN Caching of Session Cookies
high7.7Jun 4, 2025CVE-2025-46344
Auth0 NextJS SDK v4 Missing Session Invalidation
medium4.9Apr 29, 2025
