Improper Access Control Affecting jupyter-server package, versions <2.7.3-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.62% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE324-JUPYTERSERVER-17300741
  • published11 Jun 2026
  • disclosed28 Aug 2023

Introduced: 28 Aug 2023

CVE-2023-40170  (opens in a new tab)
CWE-284  (opens in a new tab)
CWE-306  (opens in a new tab)

How to fix?

Upgrade Alpine:3.24 jupyter-server to version 2.7.3-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream jupyter-server package and not the jupyter-server package as distributed by Alpine. See How to fix? for Alpine:3.24 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1