Skip to main content

Nextjs Auth0 EUVDEUVD-2026-23537

| CVE-2026-40155 MEDIUM
Incorrect Authorization (CWE-863)
2026-04-17 GitHub_M GHSA-xq8m-7c5p-c2r6
5.4
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to application
  2. Delivery
    Wait for nonce retry trigger
  3. Exploit
    Send concurrent request to /me endpoint
  4. Execution
    Proxy cache fetcher misattributes token
  5. Impact
    Attacker receives victim's profile data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires four specific conditions: (1) Application uses Auth0 Next.js SDK versions 4.12.0 through 4.17.1; (2) The proxy handler is configured and in use for /me/* and /my-org/* endpoints; (3) DPoP (Demonstration of Proof-of-Possession) is explicitly enabled in Auth0 configuration; (4) The attacker must be authenticated with an active session and able to trigger concurrent requests (either by user interaction or JavaScript execution in their session context). The attacker must also successfully time their request to collide with another user's nonce retry operation, which requires either statistically likely collision in high-concurrency scenarios or deliberate timing control. No special network positioning or privileges beyond basic authenticated user status are required. Exploitation is prevented if DPoP is disabled, the proxy handler is not in use, or the application is on version 4.18.0 or later.

Impact

CVSS 5.4 with AV:N/AC:H/PR:L/UI:R indicates network-accessible but moderate-complexity exploitation requiring authenticated access and user interaction (e.g., user clicking a malicious link or automated redirect during active session). The AC:H (high complexity) factor reflects that successful exploitation requires precise timing of concurrent requests and triggering a nonce retry condition, reducing likelihood of accidental or opportunistic exploitation. EPSS and KEV status are not provided in input data, limiting real-world probability assessment beyond CVSS scoring. The authentication bypass tag combined with PR:L and the high confidentiality impact (C:H) suggests an authenticated attacker can escalate access to peer user data on shared endpoints. However, the requirement for UI:R (user interaction) and AC:H (timing/concurrency complexity) means this is not a trivial network attack - it requires either social engineering or positioning during an active session. The impact is confined to information disclosure (C:H) with minimal integrity risk (I:L) and no availability impact, indicating data exfiltration rather than system compromise. This is a legitimate security issue affecting production deployments but not an immediate critical threat compared to unauthenticated RCE vectors. Risk is proportional to deployment scale: organizations with many concurrent users are at higher statistical risk of accidental collision.

Exploit ScenarioDerived

An authenticated attacker with an active session monitors the application for nonce retry patterns. When another user initiates a concurrent request to the /me endpoint (typically a user profile fetch), the attacker triggers their own request to the same endpoint with precise timing to collide with the nonce retry, causing the proxy cache fetcher to misattribute the victim's cached token response to the attacker's request. The attacker gains access to the victim's sensitive profile data, organization membership, or other endpoint-specific information without explicit permission. This scenario is more likely in high-concurrency environments (many simultaneous users) or where the attacker can influence timing via browser automation or session manipulation.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 17, 2026

Authentication bypass in Auth0 Next.js SDK versions 4.12.0 through 4.17.1 allows authenticated users with UI interaction to access sensitive endpoints through improper proxy cache lookups during concurrent nonce retry operations. The vulnerability specifically affects deployments using the proxy handler with DPoP (Demonstration of Proof-of-Possession) enabled, potentially exposing confidential user information via /me/* and /my-org/* endpoints. Vendor-released patch: version 4.18.0.

RemediationAI

Immediately upgrade to Auth0 Next.js SDK version 4.18.0 or later, which includes the corrected proxy cache fetcher logic that properly isolates concurrent requests and respects DPoP token binding. The fix is available at https://github.com/auth0/nextjs-auth0/releases/tag/v4.18.0. For organizations unable to upgrade immediately, disable the DPoP feature in Auth0 configuration (if business logic permits) or restrict concurrent session access via load balancer/reverse proxy rate limiting on /me/* and /my-org/* endpoints to reduce collision probability; however, these workarounds do not address the root cache isolation defect and should be considered temporary only. The fix commit 98c36dc306970c2230ea1a32efef431d29b99978 is available for review and contains specific changes to cache key generation and user context isolation during nonce retry operations.

Affected VersionsENISA

nextjs-auth0 4.12.0, < 4.18.0

Affected Packages

npm @auth0/nextjs-auth0 fix: 4.18.0
euvd nextjs_auth0_4_12_0 fix: 4.18.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Auth0 Next.js SDK provides authentication abstraction for Next.js applications, interfacing with Auth0's identity platform. The vulnerability exists in the proxy cache fetcher component responsible for handling token request results and nonce management during the OAuth/OIDC flow. When simultaneous requests trigger nonce retries (a mechanism to refresh or revalidate authentication tokens), the cache lookup mechanism performs improper key matching or state isolation, causing one user's cached authentication context to be misattributed to another concurrent request. The DPoP (Demonstration of Proof-of-Possession) mechanism, an OAuth extension for binding tokens to specific client instances, amplifies this issue by adding an additional layer of request-specific binding that the cache fetcher fails to properly respect during concurrent access. CWE-863 (Incorrect Authorization) indicates the root cause is flawed authorization decision logic, specifically the failure to properly isolate or validate session/user context during cache operations.

Know when Nextjs Auth0 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 5.4 MEDIUM
AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

Lifecycle Timeline

3
Patch released
Apr 27, 2026 - 19:41 nvd
Patch available
Patch available
Apr 17, 2026 - 22:16 EUVD
CVE Published
Apr 17, 2026 - 20:54 nvd
MEDIUM 5.4

DescriptionGitHub Advisory

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy