Vulnerabilities · 2023 · Jupyter
CVE-2023-40170
Jupyter Server vulnerability
jupyter-server is the backend for Jupyter web applications. Improper cross-site credential checks on `/files/` URLs could allow exposure of certain file contents, or accessing files when opening untrusted files via "Open image in new tab". This issue has been addressed in commit `87a49272728` which has been included in release `2.7.2`. Users are advised to upgrade. Users unable to upgrade may use the lower performance `--ContentsManager.files_handler_class=jupyter_server.files.handlers.FilesHandler`, which implements the correct checks.
Affected products
Jupyter Server. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Jupyter Server runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/jupyter-server/jupyter_server/security/advisories/GHSA-64x5-55rw-9974 · Vendor Advisory
- github.com/jupyter-server/jupyter_server/commit/87a4927272819f0b1cae1afa4c8c86ee2da002fd · Patch
- lists.fedoraproject.org/archives/list/[email protected]/message/NRP
- lists.fedoraproject.org/archives/list/[email protected]/message/XDK
- nvd.nist.gov/vuln/detail/CVE-2023-40170
- cve.org/CVERecord?id=CVE-2023-40170
More vulnerabilities in Jupyter products
CVE-2025-59842CVE-2025-53000CVE-2025-30167CVE-2024-43805CVE-2024-41942CVE-2024-39700CVE-2024-35225CVE-2024-35178All 47
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.