CVE-2023-40170: Jupyter Server

Medium severity, CVSS 6.1. EPSS: 0.7% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • Jupyter Server, before 2.7.2: fixed in 2.7.2

Affected products

Affected packages

Published 2023-08-28. Last modified 2026-06-17.