Incorrect Authorization Affecting @auth0/nextjs-auth0 package, versions >=4.12.0 <4.18.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-AUTH0NEXTJSAUTH0-16109571
  • published21 Apr 2026
  • disclosed17 Apr 2026
  • creditReynaldo Immanuel

Introduced: 17 Apr 2026

CVE-2026-40155  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade @auth0/nextjs-auth0 to version 4.18.0 or higher.

Overview

@auth0/nextjs-auth0 is a Next.js SDK for signing in with Auth0

Affected versions of this package are vulnerable to Incorrect Authorization in the proxy cache fetcher. An attacker can gain unauthorized access to sensitive information or perform actions with insufficient authorization by sending simultaneous requests that trigger a nonce retry when the proxy handler /me/* or /my-org/* is used with DPoP enabled.

Note: This is only exploitable if both the proxy handler /me/* or /my-org/* and DPoP are enabled in the project.

CVSS Base Scores

version 4.0
version 3.1