Live threats

All CVEs / Jupyter

CVE-2023-40170Jupyter Server

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.7%
probability of exploitation in 30 days · percentile 50
Auth required
No
Published
Aug 28, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-284, CWE-306, CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Jupyter Server.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI jupyter-server < 2.7.2 2.7.2 pip install "jupyter-server>=2.7.2"
PyPI jupyter-server < 2.7.2 2.7.2 pip install "jupyter-server>=2.7.2"

Per OSV / GitHub Advisories (GHSA-64x5-55rw-9974, PYSEC-2023-157). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
jupyterjupyter_server< 2.7.2

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.