CVE-2023-40170
Fixed in a distro release EPSS <1%CVSS 4.6
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.
Products: jupyter-server jupyter_server
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| PyPI | jupyter-server | 2.7.2 |
| PyPI | jupyter-server | 87a4927272819f0b1cae1afa4c8c86ee2da002fd |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Chainguard | kubeflow-pipelines-visualization-server | 2.4.0-r0 |
| Debian 12 | jupyter-server | no fix |
| Debian 13 | jupyter-server | 2.14.2-1 |
| Debian 14 | jupyter-server | 2.14.2-1 |
| Ubuntu 22.04 LTS | jupyter-server | no fix |
| Ubuntu 24.04 LTS | jupyter-server | no fix |
| Ubuntu 25.10 | jupyter-server | no fix |
| Ubuntu 26.04 LTS | jupyter-server | no fix |
| Ubuntu 26.10 | jupyter-server | no fix |
| Wolfi | kubeflow-pipelines-visualization-server | 2.4.0-r0 |
| openSUSE Tumbleweed | python-jupyter-server | 2.20.0-1.3 |