Skip to content
OpenAdvisories
Medium · 4.6 CVE-2023-40170 EUVD-2023-0103GHSA-64x5-55rw-9974PYSEC-2023-157

cross-site inclusion (XSSI) of files in jupyter-server

Published Aug 28, 2023 · Updated Feb 13, 2025 · Assigned by GitHub_M

Description

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

VendorProductAffectedFixed
jupyter-server jupyter_server < 2.7.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 jupyter-server 2.14.2-1 —
Debian 13 jupyter-server 2.14.2-1 —
Debian 12 jupyter-server No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 jupyter-server No fix yet —
Ubuntu 26.04 LTS jupyter-server No fix yet —
Ubuntu 25.10 jupyter-server No fix yet —
Ubuntu 24.04 LTS jupyter-server No fix yet —
Ubuntu 22.04 LTS jupyter-server No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-jupyter-server 2.20.0-1.3 openSUSE-SU-2026:12012-1
ReleasePackageFixed inAdvisory
Alpine v3.24 jupyter-server 2.7.3-r0 —
Alpine v3.23 jupyter-server 2.7.3-r0 —
Alpine v3.22 jupyter-server 2.7.3-r0 —
Alpine v3.21 jupyter-server 2.7.3-r0 —
Alpine v3.20 jupyter-server 2.7.3-r0 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 jupyter-server 2.7.3-r0 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling kubeflow-pipelines-visualization-server 2.4.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI jupyter-server < 2.7.2 2.7.2 GHSA-64x5-55rw-9974

Advisories 1

References