Advisory

GHSA-9f66-54xg-pc2c

Also known as: CVE-2020-26275, PYSEC-2020-50

Summary

Jupyter Server open redirect vulnerability

Details

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 [[email protected]](mailto:[email protected]).

Credit: Yaniv Nizry from CxSCA group at Checkmarx

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2020-12-21 18:01 UTC
Modified
2026-07-09 16:56 UTC

Affected packages and fixes

jupyter-server

PyPI · All systems

Affected

  • introduced 0, fixed 1.1.1 (ecosystem)

Fixed versions

1.1.1

Fix

  • Fixed version 1.1.1
    pip install --upgrade jupyter-server==1.1.1

Fix 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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences