CVE-2024-22421
JSON

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 packageVersionsReported by
jupyterlab jupyterlab< 3.6.7, >=4.0.0,< 4.0.11CVE List
jupyterlab (PyPI)from 4.0.0 before 4.0.11, before 3.6.7GitHub Advisory Database, PyPA Advisory Database
notebook (PyPI)from 7.0.0 before 7.0.7GitHub Advisory Database, PyPA Advisory Database
jupyter jupyterlabbefore 3.6.7, from 4.0.0 before 4.0.11NVD
jupyter notebookfrom 7.0.0 before 7.0.7NVD
fedoraproject fedora39NVD
jupyter-base-notebook (Bitnami)from 7.0.0 before 7.0.7Bitnami Vulnerability Database
jupyter-notebook (Bitnami)from 7.0.0 before 7.0.7Bitnami Vulnerability Database
jupyterlab (Bitnami)before 3.6.7, from 4.0.0 before 4.0.11Bitnami Vulnerability Database

All scores

GitHub_M7.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
GitHub7.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
PyPA Advisory Database7.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
Bitnami Vulnerability Databasehigh rating

Classification

CWE-23CWE-200

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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

https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-44cc-43rp-5947advisory, vendor-advisory, web
https://github.com/jupyterlab/jupyterlab/commit/19bd9b96cb2e77170a67e43121637d0b5619e8c6fix, patch, web
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQJKNRDRFMKGVRIYNNN6CKMNJDNYWO2H/advisory, mailing-list, third-party-advisory
https://nvd.nist.gov/vuln/detail/CVE-2024-22421advisory, web
https://github.com/jupyterlab/jupyterlab/commit/1ef7a4fa0202ebdf663e1cc0b45c8813a34a0b96web
https://github.com/jupyterlab/jupyterlab/commit/fccd83dc4441da0384ee3fd1322c3b2d9ad4caaaweb
https://github.com/jupyterlab/jupyterlabpackage
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQJKNRDRFMKGVRIYNNN6CKMNJDNYWO2Hweb
https://pypi.org/project/notebookpackage
https://github.com/advisories/GHSA-44cc-43rp-5947advisory
https://pypi.org/project/jupyterlabpackage

Sources

SourceRecordLicence
CVE ListCVE-2024-22421 changed 2025-06-17CVE Terms of Use
GitHub Advisory DatabaseGHSA-44cc-43rp-5947 changed 2026-09-10CC-BY-4.0
NVDCVE-2024-22421 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1706 changed 2026-07-13CC-BY-4.0
PyPA Advisory DatabasePYSEC-2026-2534 changed 2026-07-13CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-JUPYTER-BASE-NOTEBOOK-2024-22421 changed 2026-09-10Apache-2.0
Bitnami Vulnerability DatabaseBIT-JUPYTER-NOTEBOOK-2024-22421 changed 2026-09-10Apache-2.0
Bitnami Vulnerability DatabaseBIT-JUPYTERLAB-2024-22421 changed 2026-09-10Apache-2.0