{"id":"CVE-2024-22421","aliases":["CVE-2024-22421","GHSA-44cc-43rp-5947","BIT-JUPYTER-BASE-NOTEBOOK-2024-22421","BIT-JUPYTER-NOTEBOOK-2024-22421","BIT-JUPYTERLAB-2024-22421","PYSEC-2026-1706","PYSEC-2026-2534"],"related":[],"kind":"vulnerability","state":"published","title":"Potential authentication and CSRF tokens leak in JupyterLab","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nUsers 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.\n\n### Patches\nJupyterLab 4.1.0b2, 4.0.11, and 3.6.7 were patched.\n\n### Workarounds\nNo 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.\n\n### References\n\nVulnerability 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/).","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"},{"lang":"en","text":"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.","format":"markdown","source":"bitnami"}],"published":"2024-01-19T20:28:10.000Z","modified":"2026-09-10T16:01:40.876Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L","score":7.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L","score":7.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L","score":7.6,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L","score":7.6,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-23","CWE-200"],"affected":[{"ranges":[{"version":"< 3.6.7","status":"affected"},{"version":">=4.0.0,< 4.0.11","status":"affected"}],"vendor":"jupyterlab","product":"jupyterlab","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.0.11"}],"ecosystem":"PyPI","package":"jupyterlab","purl":"pkg:pypi/jupyterlab","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.6.7"}],"ecosystem":"PyPI","package":"jupyterlab","purl":"pkg:pypi/jupyterlab","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"7.0.0","status":"affected","fixed":"7.0.7"}],"ecosystem":"PyPI","package":"notebook","purl":"pkg:pypi/notebook","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.6.7"},{"status":"affected","introduced":"4.0.0","fixed":"4.0.11"}],"vendor":"jupyter","product":"jupyterlab","cpe":"cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"7.0.0","fixed":"7.0.7"}],"vendor":"jupyter","product":"notebook","cpe":"cpe:2.3:a:jupyter:notebook:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"39"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"7.0.0","status":"affected","fixed":"7.0.7"}],"ecosystem":"PyPI","package":"notebook","purl":"pkg:pypi/notebook","source":"pysec"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.6.7"},{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.0.11"}],"ecosystem":"PyPI","package":"jupyterlab","purl":"pkg:pypi/jupyterlab","source":"pysec"},{"ranges":[{"type":"semver","introduced":"7.0.0","status":"affected","fixed":"7.0.7"}],"ecosystem":"Bitnami","package":"jupyter-base-notebook","purl":"pkg:bitnami/jupyter-base-notebook","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"7.0.0","status":"affected","fixed":"7.0.7"}],"ecosystem":"Bitnami","package":"jupyter-notebook","purl":"pkg:bitnami/jupyter-notebook","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.6.7"},{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"4.0.11"}],"ecosystem":"Bitnami","package":"jupyterlab","purl":"pkg:bitnami/jupyterlab","source":"bitnami"}],"references":[{"url":"https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-44cc-43rp-5947","tags":["advisory","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://github.com/jupyterlab/jupyterlab/commit/19bd9b96cb2e77170a67e43121637d0b5619e8c6","tags":["fix","patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQJKNRDRFMKGVRIYNNN6CKMNJDNYWO2H/","tags":["advisory","mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22421","tags":["advisory","web"],"sources":["ghsa","pysec","bitnami"]},{"url":"https://github.com/jupyterlab/jupyterlab/commit/1ef7a4fa0202ebdf663e1cc0b45c8813a34a0b96","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/jupyterlab/jupyterlab/commit/fccd83dc4441da0384ee3fd1322c3b2d9ad4caaa","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/jupyterlab/jupyterlab","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQJKNRDRFMKGVRIYNNN6CKMNJDNYWO2H","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/notebook","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-44cc-43rp-5947","tags":["advisory"],"sources":["pysec"]},{"url":"https://pypi.org/project/jupyterlab","tags":["package"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-01-20T22:36:50.768Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-22421","url":"https://www.cve.org/CVERecord?id=CVE-2024-22421","licence":"CVE Terms of Use","modified":"2025-06-17T21:19:25.169Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-44cc-43rp-5947","url":"https://github.com/advisories/GHSA-44cc-43rp-5947","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:04.786Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-22421","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22421","licence":"Public domain","modified":"2026-06-17T07:11:22.763Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1706","url":"https://osv.dev/vulnerability/PYSEC-2026-1706","licence":"CC-BY-4.0","modified":"2026-07-13T16:42:58.393Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2534","url":"https://osv.dev/vulnerability/PYSEC-2026-2534","licence":"CC-BY-4.0","modified":"2026-07-13T16:42:58.393Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-JUPYTER-BASE-NOTEBOOK-2024-22421","url":"https://osv.dev/vulnerability/BIT-JUPYTER-BASE-NOTEBOOK-2024-22421","licence":"Apache-2.0","modified":"2026-09-10T16:01:40.823Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-JUPYTER-NOTEBOOK-2024-22421","url":"https://osv.dev/vulnerability/BIT-JUPYTER-NOTEBOOK-2024-22421","licence":"Apache-2.0","modified":"2026-09-10T16:01:22.914Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-JUPYTERLAB-2024-22421","url":"https://osv.dev/vulnerability/BIT-JUPYTERLAB-2024-22421","licence":"Apache-2.0","modified":"2026-09-10T16:01:40.876Z"}],"updatedAt":"2026-11-25T22:58:36.242Z","epss":{"score":0.0067,"percentile":0.53266,"date":"2026-12-01T12:00:22.000Z"}}