CVE-2026-107369: Improper Validation of Post-Login Redirect URL in nextjs-auth0

Published Oct 13, 2026
·
Updated

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.

Affected Software

1 affected component
npm/@auth0/nextjs-auth0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade auth0/nextjs-auth0 to a version that resolves this vulnerability.

    Fixed in 4.32.0

Event History

Oct 13, 2026
CVE Published
via MITRE·08:08 PM
Data Sourced
via MITRE·08:08 PM
RemedyDescriptionSeverityWeakness

Frequently Asked Questions

1

What does an attacker need to exploit this issue?

The CVSS vector indicates that exploitation can be performed remotely with low attack complexity and requires no privileges. It does require user interaction, meaning a user must follow or interact with an attacker-controlled authentication flow.

2

Which applications are exposed?

Applications using the npm @auth0/nextjs-auth0 SDK are relevant when they handle a returnTo value for post-login redirects. The issue occurs during reconstruction of a previously validated returnTo value after authentication.

3

What is the likely security impact?

A successful exploit can redirect a user after authentication to an unintended external domain. The supplied CVSS vector rates confidentiality and integrity impact as low, with no availability impact, and indicates that the impact can extend beyond the vulnerable component's security authority.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203