CVE-2026-40155 in Auth0 Nextjs-Auth0
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 bo...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, low privileges required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Auth0 | Nextjs-Auth0 | ≥ 4.12.0, < 4.18.0 |
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 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-40155 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-272234-M |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N |
| Published | 2026-04-17 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-362: Race Condition
Software behavior depends on event timing that is not enforced, allowing attackers to exploit the timing window.
CWE-863: Incorrect Authorization
Software performs an authorization check incorrectly, allowing access beyond intended privileges.
Related attack patterns (CAPEC)
CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-362
CAPEC-26 Leveraging Race Conditions via CWE-362
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
The Auth0 Next.js SDK versions 4.12.0 through 4.17.1 are vulnerable to improper token request lookups due to nonce retry issues in simultaneous requests, affecting projects using the proxy handler /me/* and /my-org/* with DPoP enabled.
Attackers can exploit this vulnerability by sending simultaneous requests that trigger a nonce retry, potentially leading to improper lookups for token requests. This could allow unauthorized access or manipulation of authentication tokens.
Questions
What is CVE-2026-40155?
The Auth0 Next.js SDK versions 4.12.0 through 4.17.1 are vulnerable to improper token request lookups due to nonce retry issues in simultaneous requests, affecting projects using the proxy handler /me/* and /my-org/* with DPoP enabled.
What is the CVSS score for CVE-2026-40155?
CVE-2026-40155 has CVSS 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N. EPSS: 0.3%.
Is CVE-2026-40155 actively exploited?
No confirmed active exploitation of CVE-2026-40155 as of 2026-09-25.
How do I remediate CVE-2026-40155?
Priority: MEDIUM.
What systems are affected by CVE-2026-40155?
CVE-2026-40155 affects Auth0 Nextjs-Auth0.
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":"Nextjs-Auth0","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.