Advisory

PYSEC-2026-1706

Also known as: BIT-jupyter-base-notebook-2024-22421, BIT-jupyter-notebook-2024-22421, BIT-jupyterlab-2024-22421, CVE-2024-22421, GHSA-44cc-43rp-5947, PYSEC-2026-2534

Summary

JupyterLab vulnerable to potential authentication and CSRF tokens leak

Details

Impact
Users of JupyterLab who click on a malicious link may get their Authorization and XSRFToken tokens exposed to a third party when running an older jupyter-server version.

Patches
JupyterLab 4.1.0b2, 4.0.11, and 3.6.7 were patched.

Workarounds
No workaround has been identified, however users should ensure to upgrade jupyter-server to version 2.7.2 or newer which includes a redirect vulnerability fix.

References

Vulnerability reported by user @davwwwx via the bug bounty program sponsored by the European Commission and hosted on the Intigriti platform.

Severity

High Basis: CVSS v3 score 7.6, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L

Dates

Published
2026-07-07 11:45 UTC
Modified
2026-07-13 16:42 UTC

Affected packages and fixes

notebook

PyPI · All systems

Affected

  • introduced 7.0.0, fixed 7.0.7 (ecosystem)

Fixed versions

7.0.7

Fix

  • Fixed version 7.0.7
    pip install --upgrade notebook==7.0.7

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: PyPA Advisory Database · CC BY 4.0

Sources & licences