Skip to content
Fencer Intel
medium 4.6

CVE-2023-40170 json

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

published 3y ago modified 2mo ago also EUVD-2023-0103 , GHSA-64x5-55rw-9974 , PYSEC-2023-157

cvss
4.6
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 50%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi jupyter-server 2.7.2
  • jupyter jupyter_server 2.7.2
  • jupyter-server Debian 14, Debian 13 2.14.2-1

debian advisories DEBIAN-CVE-2023-40170

  • python-jupyter-server openSUSE Tumbleweed 2.20.0-1.3

opensuse advisories openSUSE-SU-2026:12012-1

  • jupyter-server Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 2.7.3-r0

alpine advisories ALPINE-CVE-2023-40170

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2023-40170 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-40170 updated cvss 6.5

python-jupyter-server: improper cross-site credential checks on `/files/` URLs could allow exposure of certain file contents

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2y ago

Exploit prediction

0.62% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-15).

CVSS scores

assigned by version score vector
CNA 3.1 4.6 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
GitHub 3.1 4.6 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
NVD 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
pypi jupyter-server
<2.7.2
2.7.2

Affected products

  • jupyter-server jupyter_server

Classification

Weakness
  • CWE-284 Improper Access Control
  • CWE-306 Missing Authentication for Critical Functionality
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of jupyter-server/jupyter_server published their own advisory on GitHub. Reviewed sources take precedence over it.