Skip to main content

nextjs-auth0 SDK EUVDEUVD-2026-100481

| CVE-2026-107369 MEDIUM
URL Redirection to Untrusted Site (Open Redirect) (CWE-601)
2026-10-13 psirt@okta.com
6.1
CVSS 3.1 · Vendor: okta
View

Attack ChainAIDerived

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

  1. Access
    Craft login link with malicious returnTo
  2. Delivery
    Deliver link to victim via phishing
  3. Exploit
    Victim authenticates on trusted site
  4. Execution
    SDK reconstructs returnTo as absolute/scheme-relative URL
  5. Impact
    Browser redirected to attacker domain

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

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

Exploitation Conditions

Exploitation requires that the application use auth0/nextjs-auth0 prior to version 4.32.0 and that an attacker can induce a user to follow a crafted authentication link containing a malicious returnTo parameter - the value must pass the SDK's same-origin check yet be reconstructed into a URL browsers treat as absolute or scheme-relative. The key limiting factor is UI:R: a victim must actively click the attacker-supplied link and complete authentication, so there is no silent or self-propagating exploitation. No special non-default server configuration is required beyond using an affected SDK version in the standard login-redirect flow; impact is limited to redirection (no direct code execution or data read on the host).

Impact

This is a moderate-severity open redirect (CWE-601) in the auth0/nextjs-auth0 SDK, rated CVSS 6.1 with vector AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. The signals are internally consistent and point to a real but bounded risk rather than a critical priority: network vector and low complexity make it easy to trigger, PR:N confirms no authentication is needed, but UI:R means a victim must actually click a crafted link, which caps its real-world severity. The scope change (S:C) and low confidentiality/integrity impact reflect that the attacker's gain is indirect - the SDK redirects the browser to an attacker-controlled domain rather than directly compromising the application. No EPSS score, KEV listing, or public POC is present in the provided data, so there is no evidence of active exploitation; exploitation status is best characterized as no public exploit identified at time of analysis. The practical danger is phishing/credential-harvesting and potential OAuth token or authorization-code interception during the post-authentication redirect flow - meaningful for an authentication SDK but dependent on social engineering. Overall this is a legitimate fix-worthy flaw (patched in 4.32.0) but not an emergency; prioritize patching on normal cadence rather than as a drop-everything incident.

Exploit ScenarioDerived

An attacker crafts a login link to a legitimate site using the auth0/nextjs-auth0 SDK, embedding a returnTo value that passes same-origin validation but is reconstructed by the SDK into a scheme-relative or absolute URL. The victim authenticates normally, and after login the SDK redirects their browser to an attacker-controlled domain - enabling a convincing phishing page or interception of post-authentication flow artifacts. No public exploit code is identified at time of analysis, but the flaw is low-complexity to reproduce given the public advisory.

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

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

Alert me

AnalysisAIv1 – Oct 14, 2026

Open redirect in the nextjs-auth0 SDK before version 4.32.0 allows remote unauthenticated attackers to redirect users to an arbitrary external domain after authentication by crafting a malicious returnTo parameter that passes the SDK's same-origin check but is later reconstructed into a scheme-relative or absolute URL. Exploitation requires the victim to click an attacker-supplied authentication link and complete the login flow (CVSS vector includes UI:R), limiting impact to redirection with no direct code execution or data read on the host. No public exploit code or active exploitation (CISA KEV) has been identified, and a vendor patch is available in version 4.32.0.

RemediationAI

Upgrade to nextjs-auth0 version 4.32.0 or later, which contains the vendor-released patch. For detailed guidance, refer to the GitHub security advisory GHSA-5vvp-h2v6-59j6 and the Okta trust advisory. If immediate upgrade is not possible, implement a server-side allowlist that validates the returnTo parameter against a set of trusted origins or paths after reconstruction, but be aware that this may break legitimate redirects. Alternatively, disable or tightly constrain the returnTo functionality if it is not essential, accepting reduced user experience. No other workarounds are documented by the vendor.

Affected VersionsENISA

nextjs-auth0 0 <4.32.0

Affected Packages

euvd nextjs_auth0 fix: 4.32.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The vulnerability is a CWE-601 open redirect in the auth0/nextjs-auth0 SDK, a library that integrates Auth0 authentication into Next.js applications. The SDK validates that the returnTo parameter is a same-origin URL, but the validation is insufficient: the value is stored and later reconstructed for the post-authentication redirect in a way that can produce a URL that browsers interpret as absolute or scheme-relative (e.g., //attacker.com). This is a classic case of mismatched URL parsing between server-side validation and browser interpretation. Affected versions are nextjs-auth0 0 through 4.31.x (before 4.32.0), as indicated by EUVD-2026-100481. The CVSS vector AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N reflects network-based exploitation with low complexity, no privileges required, but requiring user interaction, with scope change and low confidentiality/integrity impact.

Know when Open Redirect 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

Vendor (okta) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

Remotely triggerable with no auth (PR:N) but requires victim click (UI:R); open redirect crosses origin so S:C with low C/I from phishing/token exposure and no availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (okta).

CVSS VectorVendor: okta

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

Lifecycle Timeline

1
Patch available
Oct 13, 2026 - 21:20 EUVD

DescriptionCVE.org

The auth0/nextjs-auth0 SDK validates that the returnTo parameter is a same-origin URL. The SDK then stores this value and, in a later step, reconstructs it for the post-authentication redirect. The reconstruction logic can produce a URL that browsers interpret as an absolute or scheme-relative path, leading to a redirect to an unintended domain.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
popular Next.js/Auth0 authentication SDK, but framework-specific not universal
Data Quality
5 sources
Confidence: Medium

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.2%
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

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2017-1000117 HIGH POC
8.8 Oct 05

A malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt to visit the URL ca

CVE-2024-52875 HIGH POC
8.8 Jan 31

GFI Kerio Control versions 9.2.5 through 9.4.5 contain an HTTP response splitting vulnerability in the dest parameter of

CVE-2016-5385 HIGH POC
8.1 Jul 19

PHP through 7.0.8 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect

CVE-2013-2248 MEDIUM POC
5.8 Jul 20

Multiple open redirect vulnerabilities in Apache Struts 2.0.0 through 2.3.15 allow remote attackers to redirect users to

CVE-2018-11784 MEDIUM POC
4.3 Oct 04

When the default servlet in Apache Tomcat versions 9.0.0.M1 to 9.0.11, 8.5.0 to 8.5.33 and 7.0.23 to 7.0.90 returned a r

CVE-2012-6499 MEDIUM POC
5.8 Jan 12

Open redirect vulnerability in age-verification.php in the Age Verification plugin 0.4 and earlier for WordPress allows

CVE-2015-2863 MEDIUM POC
4.3 Jul 20

Open redirect vulnerability in Kaseya Virtual System Administrator (VSA) 7.x before 7.0.0.29, 8.x before 8.0.0.18, 9.0 b

CVE-2017-3528 MEDIUM POC
5.4 Apr 24

Vulnerability in the Oracle Applications Framework component of Oracle E-Business Suite (subcomponent: Popup windows (li

CVE-2012-0518 MEDIUM
4.7 Oct 16

Unspecified vulnerability in the Oracle Application Server Single Sign-On component in Oracle Fusion Middleware 10.1.4.3

CVE-2024-21641 MEDIUM POC
6.5 Jan 05

Flarum is open source discussion platform software. Rated medium severity (CVSS 6.5), this vulnerability is remotely exp

CVE-2015-5354 MEDIUM POC
5.8 Jul 01

Open redirect vulnerability in Novius OS 5.0.1 (Elche) allows remote attackers to redirect users to arbitrary web sites

CVE-2015-5461 MEDIUM POC
6.4 Jul 08

Open redirect vulnerability in the Redirect function in stageshow_redirect.php in the StageShow plugin before 5.0.9 for

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