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

> CVE-2026-107369: Improper Validation of Post-Login Redirect URL in nextjs-auth0. CVSS 6.1 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-107369
Last updated: 2026-10-15T20:38:04Z

- Published: 2026-10-13 20:08 UTC · Updated: 2026-10-15 20:38 UTC · Assigner: Okta
- CVSS: 6.1 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.22%, 13th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-601

## 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 vendors and products

- Auth0: nextjs-auth0

## Tracked companies

- [Auth0](https://rewindex.com/company/auth0.md)
- [Okta](https://rewindex.com/company/okta.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-107369)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-107369)
- [https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-5vvp-h2v6-59j6](https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-5vvp-h2v6-59j6)
- [https://trust.okta.com/security-advisories/improper-validation-of-post-login-redirect-url-in-nextjs-auth0-cve-2026-107369](https://trust.okta.com/security-advisories/improper-validation-of-post-login-redirect-url-in-nextjs-auth0-cve-2026-107369)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-107369 · Markdown: https://rewindex.com/cve/CVE-2026-107369.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-107369 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:13:16.163Z
