CVE-2024-22421: JupyterLab vulnerable to potential authentication and CSRF tokens leak
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.
Published Jan 19, 2024 · Updated Feb 10, 2024
Affected packages
jupyterlab
- Ecosystem
- PyPI
- Affected
- >= 4.0.0, <= 4.0.10
- Fixed in
- 4.0.11
- Check
pip show jupyterlab
jupyterlab
- Ecosystem
- PyPI
- Affected
- <= 3.6.6
- Fixed in
- 3.6.7
- Check
pip show jupyterlab
notebook
- Ecosystem
- PyPI
- Affected
- >= 7.0.0, <= 7.0.6
- Fixed in
- 7.0.7
- Check
pip show notebook
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to davwwwx.
References
- https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-44cc-43rp-5947
- https://github.com/jupyterlab/jupyterlab/commit/1ef7a4fa0202ebdf663e1cc0b45c8813a34a0b96
- https://github.com/jupyterlab/jupyterlab/commit/fccd83dc4441da0384ee3fd1322c3b2d9ad4caaa
- https://nvd.nist.gov/vuln/detail/CVE-2024-22421
- https://github.com/jupyterlab/jupyterlab/commit/19bd9b96cb2e77170a67e43121637d0b5619e8c6
- https://lists.fedoraproject.org/archives/list/[email protected]/message/UQJKNRDRFMKGVRIYNNN6CKMNJDNYWO2H/
- https://github.com/advisories/GHSA-44cc-43rp-5947
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-102832
JupyterLab: Command link trust prompt in JupyterLab can trust a document other than the one clicked
medium4.2Oct 15, 2026CVE-2026-102830
JupyterLab: Cross-site scripting (XSS) in JupyterLab via crafted language package (jupyterlab.json)
medium6.8Oct 1, 2026CVE-2026-102831
JupyterLab: Cross-site scripting (XSS) in JupyterLab via notebook cells pasted from the system clipboard
high8.1Oct 1, 2026CVE-2026-102904
JupyterLab: Argument injection in JupyterLab extension uninstall exposes server-readable files and internal URLs
medium5.4Oct 1, 2026CVE-2026-73415
JupyterLab: Image viewer allows XSS when opening malicious image in new browser tab
high7.5Jul 22, 2026CVE-2026-73416
JupyterLab: PyPI extension blocklist package-name canonicalization bypass
medium6.1Jul 22, 2026
