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

- Vendor: Okta, nextjs-auth0
- Severity: MEDIUM (CVSS 3.1 6.1)
- Exploited (CISA KEV): not listed
- EPSS: 0.2% on 2026-12-02
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: https://trust.okta.com/security-advisories/improper-validation-of-post-login-redirect-url-in-nextjs-auth0-cve-2026-107369
- Published: 2026-10-13; updated: 2026-10-13
- Page: https://patchtonight.com/cve/CVE-2026-107369/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| nextjs-auth0 0 | 4.32.0 or later |

## The vendor's 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.

## Sources

- [Okta advisory](https://trust.okta.com/security-advisories/improper-validation-of-post-login-redirect-url-in-nextjs-auth0-cve-2026-107369)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
