{"id":"CVE-2024-22421","aliases":["BIT-jupyter-base-notebook-2024-22421","BIT-jupyter-notebook-2024-22421","BIT-jupyterlab-2024-22421","GHSA-44cc-43rp-5947","PYSEC-2026-1706","PYSEC-2026-2534"],"url":"https://o3.security/vulnerability/CVE-2024-22421","summary":"Potential authentication and CSRF tokens leak in JupyterLab","details":"### 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/).\n","published":"2024-01-19T20:45:49.027Z","modified":"2026-08-12T03:51:26.592004570Z","cvss":{"score":7.6,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"jupyterlab","fixedVersion":"4.0.11"},{"ecosystem":"PyPI","name":"jupyterlab","fixedVersion":"3.6.7"},{"ecosystem":"PyPI","name":"notebook","fixedVersion":"7.0.7"}],"fix":{"url":"https://github.com/jupyterlab/jupyterlab/commit/19bd9b96cb2e77170a67e43121637d0b5619e8c6","label":"jupyterlab/jupyterlab@19bd9b9"},"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQJKNRDRFMKGVRIYNNN6CKMNJDNYWO2H/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/22xxx/CVE-2024-22421.json"},{"type":"ADVISORY","url":"https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-44cc-43rp-5947"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22421"},{"type":"FIX","url":"https://github.com/jupyterlab/jupyterlab/commit/19bd9b96cb2e77170a67e43121637d0b5619e8c6"},{"type":"WEB","url":"https://github.com/jupyterlab/jupyterlab/commit/1ef7a4fa0202ebdf663e1cc0b45c8813a34a0b96"},{"type":"WEB","url":"https://github.com/jupyterlab/jupyterlab/commit/fccd83dc4441da0384ee3fd1322c3b2d9ad4caaa"},{"type":"PACKAGE","url":"https://github.com/jupyterlab/jupyterlab"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQJKNRDRFMKGVRIYNNN6CKMNJDNYWO2H"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:26.592004570Z"}}