JupyterLab vulnerable to potential authentication and CSRF tokens leak
High7.6CVE-2024-22421 · Published Jan 19, 2024 · updated Sep 10, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| jupyterlab PyPI | >= 4.0.0, < 4.0.11 | 4.0.11 |
| < 3.6.7 | 3.6.7 | |
| notebook PyPI | >= 7.0.0, < 7.0.7 | 7.0.7 |
Details and references
### 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/).
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-200
- Also known as
- BIT-jupyter-base-notebook-2024-22421, BIT-jupyter-notebook-2024-22421, BIT-jupyterlab-2024-22421, CVE-2024-22421, PYSEC-2026-1706, PYSEC-2026-2534
- github.com/jupyterlab/jupyterlab/security/advisories/GHSA-44cc-43rp-5947
- nvd.nist.gov/vuln/detail/CVE-2024-22421
- github.com/jupyterlab/jupyterlab/commit/19bd9b96cb2e77170a67e43121637d0b5619e8c6
- github.com/jupyterlab/jupyterlab/commit/1ef7a4fa0202ebdf663e1cc0b45c8813a34a0b96
- github.com/jupyterlab/jupyterlab/commit/fccd83dc4441da0384ee3fd1322c3b2d9ad4caaa
- github.com/jupyterlab/jupyterlab
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQJKNRDRFMKGVRIYNNN6CKMNJDNYWO2H
More Jupyter advisories
All Jupyter| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jan 192024 | JupyterLab vulnerable to SXSS in Markdown Preview CVE-2024-22420Medium6.5fixed in 4.0.11, 7.0.7 | Medium6.5 | 4.0.11, 7.0.7 |
| Dec 52023 | jupyter-server errors include tracebacks with path information CVE-2023-49080Medium4.3fixed in 2.11.2 | Medium4.3 | 2.11.2 |
| Mar 282024 | Cross site scripting (XSS) in JupyterHub via Self-XSS leveraged by Cookie Tossing CVE-2024-28233High8.1fixed in 4.1.0 | High8.1 | 4.1.0 |
| Jun 62024 | Jupyter server on Windows discloses Windows user password hash CVE-2024-35178High7.5fixed in 2.14.1 | High7.5 | 2.14.1 |
| Aug 292023 | Open Redirect Vulnerability in jupyter-server CVE-2023-39968Medium6.1fixed in 2.7.2 | Medium6.1 | 2.7.2 |
| Aug 292023 | cross-site inclusion (XSSI) of files in jupyter-server CVE-2023-40170Medium4.6fixed in 2.7.2 | Medium4.6 | 2.7.2 |