VDB
Sign up
HIGH7.6

PYSEC-2026-1706

JupyterLab vulnerable to potential authentication and CSRF tokens leak

Quick fix

PYSEC-2026-1706 — notebook: upgrade to the fixed version with the command below.

pip install --upgrade 'notebook>=7.0.7'

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](https://app.intigriti.com/programs/jupyter/jupyter/detail) [sponsored by the European Commission](https://commission.europa.eu/news/european-commissions-open-source-programme-office-starts-bug-bounties-2022-01-19_en) and hosted on the [Intigriti platform](https://www.intigriti.com/).

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/notebook
Introduced in: 7.0.0Fixed in: 7.0.7
Fixpip install --upgrade 'notebook>=7.0.7'

References