{"id":"CVE-2025-61669","aliases":["CVE-2025-61669","GHSA-qh7q-6qm3-653w","PYSEC-2026-67"],"related":[],"kind":"vulnerability","state":"published","title":"jupyter_server next parameter open redirect can redirect users to external domains","summary":"Jupyter Server is the backend for Jupyter web applications. In jupyter_server versions through 2.17.0, the next query parameter in the login flow is insufficiently validated in `LoginFormHandler._redirect_safe()`, which allows redirects to arbitrary external domains via values such as `///example.com`. An attacker can use a crafted login URL to redirect users to a malicious site and facilitate phishing attacks. This issue is fixed in version 2.18.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Jupyter Server is the backend for Jupyter web applications. In jupyter_server versions through 2.17.0, the next query parameter in the login flow is insufficiently validated in `LoginFormHandler._redirect_safe()`, which allows redirects to arbitrary external domains via values such as `///example.com`. An attacker can use a crafted login URL to redirect users to a malicious site and facilitate phishing attacks. This issue is fixed in version 2.18.0.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nThe `?next=...` URL query parameter has an open redirection vulnerability. In `jupyter_server<=2.17.0`, this URL query parameter allows redirection to arbitrary external domains, which can be exploited to facilitate phishing attacks on server users.\n\n### Details\n\nThe vulnerability is caused by insufficient validation in the `LoginFormHandler._redirect_safe()` method.\n\n- Source code reference: https://github.com/jupyter-server/jupyter_server/blob/987ebdd5e188cdc49751b01a0d6782d686492a53/jupyter_server/auth/login.py#L33-L76\n\nThis vulnerability was originally reported by Noriaki Iwasaki. All discovery credit goes to them.\n\n### PoC\n\n1. Navigate to `http://localhost:8888/login?next=///google.com`\n2. Observe that the user is redirected to `google.com` despite it being an external domain.\n\nThe external domain passed in the `?next` parameter may be replaced with a malicious lookalike to facilitate phishing attacks. Jupyter Server deployments served on a public domain are especially vulnerable, as `prod.company.com` may be redirected to a look-alike URL such as `prod.company.dev`. \n\n### Impact\n\nThis vulnerability affects all users, especially enterprise users who work with sensitive/confidential data.\n\n### Patches\n\nJupyter Server 2.18+\n\n### Workaround\n\nNone.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Jupyter Server es el backend para las aplicaciones web de Jupyter. En las versiones de jupyter_server hasta la 2.17.0, el parámetro de consulta next en el flujo de inicio de sesión está insuficientemente validado en 'LoginFormHandler._redirect_safe()', lo que permite redirecciones a dominios externos arbitrarios a través de valores como '///example.com'. Un atacante puede usar una URL de inicio de sesión manipulada para redirigir a los usuarios a un sitio malicioso y facilitar ataques de phishing. Este problema se corrige en la versión 2.18.0.","source":"nvd"}],"published":"2026-05-05T15:28:43.833Z","modified":"2026-10-07T09:10:00.160Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-601"],"affected":[{"ranges":[{"version":"<= 2.17.0","status":"affected"}],"vendor":"jupyter-server","product":"jupyter_server","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.18.0"}],"ecosystem":"PyPI","package":"jupyter-server","purl":"pkg:pypi/jupyter-server","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.18.0"}],"vendor":"jupyter","product":"jupyter_server","cpe":"cpe:2.3:a:jupyter:jupyter_server:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.18.0"}],"ecosystem":"PyPI","package":"jupyter-server","purl":"pkg:pypi/jupyter-server","source":"pysec"}],"references":[{"url":"https://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-qh7q-6qm3-653w","tags":["evidence","exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61669","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jupyter-server/jupyter_server","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/jupyter-server/PYSEC-2026-67.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-05-05T20:16:38.460Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-61669","url":"https://www.cve.org/CVERecord?id=CVE-2025-61669","licence":"CVE Terms of Use","modified":"2026-05-05T20:16:59.332Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qh7q-6qm3-653w","url":"https://github.com/advisories/GHSA-qh7q-6qm3-653w","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:47.272Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-61669","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61669","licence":"Public domain","modified":"2026-10-07T09:10:00.160Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-67","url":"https://osv.dev/vulnerability/PYSEC-2026-67","licence":"CC-BY-4.0","modified":"2026-05-20T09:19:02.865Z"}],"updatedAt":"2026-11-25T22:59:12.131Z","epss":{"score":0.00244,"percentile":0.167,"date":"2026-12-01T12:00:22.000Z"}}