MEDIUM6.1
PYSEC-2026-2683
Open Redirect vulnerability in jupyterhub and notebook
Quick fix
PYSEC-2026-2683 — notebook: upgrade to the fixed version with the command below.
pip install --upgrade 'notebook>=5.7.8'Details
An Open Redirect vulnerability for all browsers in Jupyter Notebook before 5.7.8 and some browsers (Chrome, Firefox) in JupyterHub before 0.9.6 allows crafted links to the login page, which will redirect to a malicious site after successful login. Servers running on a base_url prefix are not affected.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-10255[ADVISORY]
- https://github.com/jupyter/notebook/commit/08c4c898182edbe97aadef1815cce50448f975cb[WEB]
- https://github.com/jupyter/notebook/commit/70fe9f0ddb3023162ece21fbb77d5564306b913b[WEB]
- https://github.com/jupyter/notebook/commit/d65328d4841892b412aef9015165db1eb029a8ed[WEB]
- https://blog.jupyter.org/open-redirect-vulnerability-in-jupyter-jupyterhub-adf43583f1e4[WEB]
- https://github.com/advisories/GHSA-rv62-4pmj-xw6h[ADVISORY]
- https://github.com/jupyter/notebook[PACKAGE]
- https://github.com/jupyter/notebook/compare/05aa4b2...16cf97c[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UP5RLEES2JBBNSNLBR65XM6PCD4EMF7D[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VMDPJBVXOVO6LYGAT46VZNHH6JKSCURO[WEB]
- https://pypi.org/project/notebook[PACKAGE]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:pypi/notebook"]}'