CVE-2020-26275
JSON

6.1medium

Open redirect vulnerability

Severity
6.1medium CVSS:3.1 by GitHub_M
Exploit likelihood
1.37% (higher than 72% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-9f66-54xg-pc2cPYSEC-2020-50PYSEC-2020-346

Description

The Jupyter Server provides the backend (i.e. the core services, APIs, and REST endpoints) for Jupyter web applications like Jupyter notebook, JupyterLab, and Voila. In Jupyter Server before version 1.1.1, an open redirect vulnerability could cause the jupyter server to redirect the browser to a different malicious website. All jupyter servers running without a base_url prefix are technically affected, however, these maliciously crafted links can only be reasonably made for known jupyter server hosts. A link to your jupyter server may *appear* safe, but ultimately redirect to a spoofed server on the public internet. This same vulnerability was patched in upstream notebook v5.7.8. This is fixed in jupyter_server 1.1.1. If upgrade is not available, a workaround can be to run your server on a url prefix: "jupyter server --ServerApp.base_url=/jupyter/".

Affected

Product or packageVersionsReported by
jupyter-server jupyter_server< 1.1.1CVE List
jupyter-server (PyPI)before 1.1.1, before 85e4abccf6ea9321d29153f73b0bd72ccb3a6bcaGitHub Advisory Database, PyPA Advisory Database
jupyter jupyter_serverbefore 1.1.1NVD

All scores

GitHub_M6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD5.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:N
PyPA Advisory Database6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

What each source says

CVE List

The Jupyter Server provides the backend (i.e. the core services, APIs, and REST endpoints) for Jupyter web applications like Jupyter notebook, JupyterLab, and Voila. In Jupyter Server before version 1.1.1, an open redirect vulnerability could cause the jupyter server to redirect the browser to a different malicious website. All jupyter servers running without a base_url prefix are technically affected, however, these maliciously crafted links can only be reasonably made for known jupyter server hosts. A link to your jupyter server may *appear* safe, but ultimately redirect to a spoofed server on the public internet. This same vulnerability was patched in upstream notebook v5.7.8. This is fixed in jupyter_server 1.1.1. If upgrade is not available, a workaround can be to run your server on a url prefix: "jupyter server --ServerApp.base_url=/jupyter/".

GitHub Advisory Database
Impact

What kind of vulnerability is it? Who is impacted?

Open redirect vulnerability - a maliciously crafted link to a jupyter server could redirect the browser to a different website.

All jupyter servers running without a base_url prefix are technically affected, however, these maliciously crafted links can only be reasonably made for known jupyter server hosts. A link to your jupyter server may appear safe, but ultimately redirect to a spoofed server on the public internet. This same vulnerability was patched in upstream notebook v5.7.8.

Patches

Has the problem been patched? What versions should users upgrade to?

Patched in jupyter_server 1.1.1. If upgrade is not available, a workaround can be to run your server on a url prefix:

jupyter server --ServerApp.base_url=/jupyter/
References

OWASP page on open redirects

For more information

If you have any questions or comments about this advisory, or vulnerabilities to report, please email our security list security@ipython.org.

Credit: Yaniv Nizry from CxSCA group at Checkmarx

NVD (es)

Jupyter Server proporciona el backend (es decir, los servicios centrales, las API y los endpoints REST) ??para las aplicaciones web de Jupyter como Jupyter notebook, JupyterLab y Voila.&#xa0;En Jupyter Server versiones anteriores a 1.1.1, una vulnerabilidad de redireccionamiento abierto podría causar que el servidor jupyter redireccione el navegador hacia un sitio web malicioso diferente.&#xa0;Todos los servidores jupyter que se ejecutan sin un prefijo base_url están técnicamente afectados; sin embargo, estos enlaces diseñados maliciosamente pueden sólo ser razonablemente hechos para hosts de servidores jupyter conocidos.&#xa0;Un enlace a su servidor jupyter puede *appear* seguro, pero en última instancia, redirigido hacia un servidor falsificado en la Internet pública.&#xa0;Esta misma vulnerabilidad fue parcheada en la versión 5.7.8 del portátil ascendente.&#xa0;Esto se corrigió en jupyter_server versión 1.1.1.&#xa0;Si la actualización no está disponible, una solución alternativa puede ser ejecutar su servidor con un prefijo de url: "jupyter server --ServerApp.base_url=/jupyter/"

PyPA Advisory Database

Withdrawn as duplicate of PYSEC-2020-50. The Jupyter Server provides the backend (i.e. the core services, APIs, and REST endpoints) for Jupyter web applications like Jupyter notebook, JupyterLab, and Voila. In Jupyter Server before version 1.1.1, an open redirect vulnerability could cause the jupyter server to redirect the browser to a different malicious website. All jupyter servers running without a base_url prefix are technically affected, however, these maliciously crafted links can only be reasonably made for known jupyter server hosts. A link to your jupyter server may appear safe, but ultimately redirect to a spoofed server on the public internet. This same vulnerability was patched in upstream notebook v5.7.8. This is fixed in jupyter_server 1.1.1. If upgrade is not available, a workaround can be to run your server on a url prefix: "jupyter server --ServerApp.base_url=/jupyter/".

References

Sources

SourceRecordLicence
CVE ListCVE-2020-26275 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-9f66-54xg-pc2c changed 2026-07-09CC-BY-4.0
NVDCVE-2020-26275 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2020-346 changed 2026-07-09CC-BY-4.0
PyPA Advisory DatabasePYSEC-2020-50 changed 2026-07-09CC-BY-4.0