What’s Vulnerable › Vulnerabilities

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

Description

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 products

How to fix

Upgrade to a fixed version: auth0 nextjs-auth0 4.32.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-107369 or the next vulnerability affects your stack