jupyter-server
Affected
- introduced
0, fixed2.18.0(ecosystem)
Fixed versions
2.18.0
Fix
- Fixed version
2.18.0pip install --upgrade jupyter-server==2.18.0
Advisory
Also known as: CVE-2025-61669, PYSEC-2026-67
Jupyter Server has an open redirection vulnerability in next query parameter
Summary
The ?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.
Details
The vulnerability is caused by insufficient validation in the LoginFormHandler._redirect_safe() method.
This vulnerability was originally reported by Noriaki Iwasaki. All discovery credit goes to them.
PoC
http://localhost:8888/login?next=///google.comgoogle.com despite it being an external domain.The 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.
Impact
This vulnerability affects all users, especially enterprise users who work with sensitive/confidential data.
Patches
Jupyter Server 2.18+
Workaround
None.
Medium Basis: The source's own band: MODERATE
0, fixed 2.18.0 (ecosystem)2.18.0
2.18.0pip install --upgrade jupyter-server==2.18.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0