5.4medium
Auth0 Next.js SDK has Improper Proxy Cache Lookup
- Severity
- 5.4medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.27% (higher than 12% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-xq8m-7c5p-c2r6
Description
The Auth0 Next.js SDK is a library for implementing user authentication in Next.js applications. In versions 4.12.0 through 4.17.1, simultaneous requests that trigger a nonce retry may cause the proxy cache fetcher to perform improper lookups for the token request results. Users are affected if their project uses both the vulnerable versions and the proxy handler /me/* and /my-org/* with DPoP enabled. This issue has been fixed in version 4.18.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| auth0 nextjs-auth0 | >= 4.12.0, < 4.18.0, from 4.12.0 before 4.18.0 | CVE List, NVD |
| @auth0/nextjs-auth0 (npm) | from 4.12.0 before 4.18.0 | GitHub Advisory Database |
All scores
| GitHub_M | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N |
| GitHub | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N |
Classification
What each source says
CVE List
The Auth0 Next.js SDK is a library for implementing user authentication in Next.js applications. In versions 4.12.0 through 4.17.1, simultaneous requests that trigger a nonce retry may cause the proxy cache fetcher to perform improper lookups for the token request results. Users are affected if their project uses both the vulnerable versions and the proxy handler /me/* and /my-org/* with DPoP enabled. This issue has been fixed in version 4.18.0.
GitHub Advisory Database
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-40155 changed 2026-04-20 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xq8m-7c5p-c2r6 changed 2026-04-21 | CC-BY-4.0 |
| NVD | CVE-2026-40155 changed 2026-06-17 | Public domain |