7.6high
Potential authentication and CSRF tokens leak in JupyterLab
- Severity
- 7.6high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.67% (higher than 53% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-44cc-43rp-5947BIT-JUPYTER-BASE-NOTEBOOK-2024-22421BIT-JUPYTER-NOTEBOOK-2024-22421BIT-JUPYTERLAB-2024-22421PYSEC-2026-1706PYSEC-2026-2534
Description
JupyterLab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook and Architecture. 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. JupyterLab versions 4.1.0b2, 4.0.11, and 3.6.7 are patched. 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| jupyterlab jupyterlab | < 3.6.7, >=4.0.0,< 4.0.11 | CVE List |
| jupyterlab (PyPI) | from 4.0.0 before 4.0.11, before 3.6.7 | GitHub Advisory Database, PyPA Advisory Database |
| notebook (PyPI) | from 7.0.0 before 7.0.7 | GitHub Advisory Database, PyPA Advisory Database |
| jupyter jupyterlab | before 3.6.7, from 4.0.0 before 4.0.11 | NVD |
| jupyter notebook | from 7.0.0 before 7.0.7 | NVD |
| fedoraproject fedora | 39 | NVD |
| jupyter-base-notebook (Bitnami) | from 7.0.0 before 7.0.7 | Bitnami Vulnerability Database |
| jupyter-notebook (Bitnami) | from 7.0.0 before 7.0.7 | Bitnami Vulnerability Database |
| jupyterlab (Bitnami) | before 3.6.7, from 4.0.0 before 4.0.11 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 7.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L |
| GitHub | 7.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| PyPA Advisory Database | 7.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
JupyterLab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook and Architecture. 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. JupyterLab versions 4.1.0b2, 4.0.11, and 3.6.7 are patched. 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.
GitHub Advisory Database
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.
NVD (es)
JupyterLab es un entorno extensible para informática interactiva y reproducible, basado en Jupyter Notebook y Architecture. Los usuarios de JupyterLab que hacen clic en un enlace malicioso pueden exponer sus tokens de "Autorización" y "XSRFToken" a un tercero cuando ejecutan una versión anterior de "jupyter-server". Las versiones 4.1.0b2, 4.0.11 y 3.6.7 de JupyterLab están parcheadas. No se ha identificado ningún workaround; sin embargo, los usuarios deben asegurarse de actualizar `jupyter-server` a la versión 2.7.2 o posterior, que incluye una solución de vulnerabilidad de redireccionamiento.
Bitnami Vulnerability Database
JupyterLab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook and Architecture. 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. JupyterLab versions 4.1.0, 4.0.11, and 3.6.7 are patched. 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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-22421 changed 2025-06-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-44cc-43rp-5947 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-22421 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1706 changed 2026-07-13 | CC-BY-4.0 |
| PyPA Advisory Database | PYSEC-2026-2534 changed 2026-07-13 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-JUPYTER-BASE-NOTEBOOK-2024-22421 changed 2026-09-10 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-JUPYTER-NOTEBOOK-2024-22421 changed 2026-09-10 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-JUPYTERLAB-2024-22421 changed 2026-09-10 | Apache-2.0 |